Verified Answer :

Radiation is the answer

Your answer will be radiation because Radiation includes heating by rays, and the sun warms the earth through space and through the air on earth.