You might not know, but the energy that comes from the sun is called solar energy? The energy that is generated by the sun is from it’s nucleus from the thermonuclear from hydrogen fusion that is turned into helium. This energy wave is in an electromagnetic wave form that transmits from the nucleus of the sun and then out into space. The heat is compressed by gravitational pressure in the core of the sun to above 15 million Celsius degrees
Of course all of this energy from the sun does not come to our planet. The suns energy will go in every direction, and actually only a small amount goes towards the earth. The suns solar constant to earth averages 2 calories. An interesting fact is that about 35% of the suns energy that hits the earth goes back into space because of clouds and snow. This reflective quality of earth or any planet is called aldebo.