Question: how does the atmosphere protect us from gamma rays?
Answer: Just a single high-energy photon of gamma rays can cause significant damage to a living cell. Once again, though, the Earth's atmosphere is there to protect us. The molecules in the atmosphere absorb the high-energy photons preventing any from reaching us on the ground.