At 93 million miles from Earth, our sun is a middling star that provides nearly all the energy on Earth. The only energy sources we have on Earth which do not come from the sun are the tides caused by the moon's gravity, radioactive materials and geothermal energy. The sun provides everything else. All the energy embodied in fossil fuels and biomass is actually the sun's energy stored as carbon.