The primary source of radiation that heats the Earth is the Sun. The Sun emits electromagnetic radiation, including visible light, ultraviolet radiation, and infrared radiation. As this radiation travels through space, it reaches the Earth's atmosphere and is absorbed, reflected, or scattered by various gases, particles, and surfaces.
The Earth's atmosphere also emits radiation, particularly in the form of infrared radiation, which is re-radiated back towards the Earth's surface. This process is known as the greenhouse effect, and it helps to trap heat in the Earth's atmosphere, making it possible for life to exist on the planet.
Other sources of radiation that contribute to the heating of the Earth include cosmic rays, which are high-energy particles that come from outer space and can penetrate the Earth's atmosphere, and radioactive decay, which generates heat within the Earth's core. However, these sources are much less significant than the Sun in terms of their contribution to the Earth's overall heat budget.