The Sun is the source of almost all the energy on the Earth that emits a huge amount of light and heat.