Luckily, Gamma-Rays, X-Rays and most UV light can not penetrate the Earth's Atmosphere.
Also, most Infrared light can not penetrate. This means, in order for astronomers to
observe extra-terrestrial sources of such emission, we must get ABOVE the atmosphere!
This is just ONE of the reasons for spending 2 Billion dollars to build the Hubble Space Telescope.. We'll learn more about that soon.