The greenhouse effect is the warming of the Earth's surface as a result of atmospheric pollution caused by trapped gases. Sun comes through the atmosphere, heats up the surface. The heat rises into the atmosphere, again, and becomes trapped in the upper layers of the atmosphere (the ozone). This heat is re-radiated back down to the surface of the Earth, heating it again.