The sun is a giant nuclear reactor, a large area with a mass gas thousand times the Earth consists of helium, hydrogen and most carbon. The permanently radiating energy of the sun reaches 3 parts atmosphere as terrestrial solar radiation, the remaining 2/3 part is absorbed by the different atmospheric layers around the globe the rest hits the surface of the earth.