The "greenhouse effect" of the atmosphere is named by analogy to greenhouses which become warmer in sunlight.
More recent quantitative studies suggest that the effect of infrared radiative cooling is not negligibly small, and may have economic implications in a heated greenhouse.