The Sun is generating energy by nuclear fusion. This nuclear fusion will emit energy in the form of gamma rays.
Normally, the earth's ozone layer filters the ultraviolet radiation while the earth's magnetic field deflects cosmic rays (charged particles).
But what kind of natural system protects us from the sun's gamma rays?
Note: As we know gamma rays can be blocked by denser materials like several meters of thick lead (Pb).