The type of energy that travels through space from the sun to the earth is...
Chemical energy
Electromagnetic/Radiant energy
All of these
Thermal energy