the sun radiates energy in the form of electromagnetic radiation