What prevents the CO2 gases from leaving the atmosphere?
CO2 is building up from oil, coal, and gas burning faster than can be taken up by the oceans, forests and soils, whose capacity to absorb it, is steadily being reduced by human actions. The effects will take hundreds to thousands of years to be fully felt even if we used no more fossil fuels starting now.