The trapping of heat energy by the atmosphere and oceans maintains the Earth’s:

Atemperature range
Cclimates
Bweather patterns
Dair quality