Answer:
Radiation
Step-by-step explanation:
The sun heat the earth by the process called radiation.
Radiation is form of heat transfer method just like convection and conduction. Radiation heat transfer does not require medium to propagate, unlike its other two counterparts. There is no medium between earth and sun.
The radiation heat travels through space in form of waves. Like the electromagnetic wave with a specific speed and energy.