Net Radiation and Temperature

The earth-atmosphere energy balance is achieved as the energy received from the Sun balances the energy lost by the Earth back into space. Energy released from the Sun is emitted as shortwave light and ultraviolet energy. However, since the Earth is much cooler than the Sun, its radiating energy is much weaker (long wavelength) infrared energy. Through this balance, the Earth maintains a stable climate

energy balance

Source: Earth-Atmosphere Energy Balance Diagram | NWS