dangerous energy from the sun is absorbed in the earth's atmosphere