The portion of that light that arrives at the earth is typically composed of visible rays, ultraviolet and infra-red.The sun also emits gamma rays and x-rays but the earth's atmosphere acts like a shield so they don't reach the surface of the earth most of the times, or else it would be a disaster and a global extinction!
what exactly about the atmosphere makes it prevent the gamma and x-rays from reaching the earth but allow visible rays of light ?
have you heard of people with tetrachromatic vision who actually possess four cones ? yes, they exist :).
A very interesting read btw. Great effort man.
What do you want to know exactly? :)
I tried to explain to @kingabesh what I.know but I still have two questions: do any gamma rays reach the surface of the earth? And if so isn't space supposed to be empty? what's stopping gamma rays from reaching the atmosphere ?
Most won't. Very rarely, some might, but it is not possible to detect them as really really really too rare.
In average, space is empty. But there is stuff in it here and there.
Gamma rays can reach the atmosphere. The atmosphere is actually the stuff protecting us from them :)