There is this thing about greenhouses that make them really useful.
You see they admit shortwave radiation and hold onto longer wavelengths with the effect of heating up the air that is held within their glass walls.
This means that you can push the tomato plants into the production of luscious red parcels of nutrition even when it is cold outside.
As we know, the earth’s atmosphere contains gases that do the same thing as glass does in a greenhouse. Water vapour, carbon dioxide, methane, nitrous oxide, ozone, chlorofluorocarbons (CFCs), and hydrofluorocarbons all let shortwave through and tend to block the longer wavelength radiation trying to escape and without the earth would be a frigid ball of ice.
Always worth remembering that little reality.