The correct answer is C. by transferring thermal energy through electromagnetic radiation.
The heat from the sun reaches the Earth primarily through the process of radiation, which does not require a medium like air or water to transfer energy. The sun emits energy in the form of electromagnetic waves, including visible light, infrared radiation, and ultraviolet radiation, which travel through the vacuum of space and warm the Earth when absorbed.