Greenhouse gases, such as methane (CH4), nitrous oxide (N2O), water vapor (H2O) and carbon dioxide (CO2), absorb certain wavelengths of OLR adding heat to the atmosphere, which in turn causes the respective absorbing layer of the atmosphere to emit more radiation.
The OLR is dependent on the temperature of the radiating body.