Some gases like carbon dioxide, methane, nitrous oxide prevent the escape of heat from the Earth’s surface by trapping it. This increases the average temperature of the Earth. This is called the green house effect. An increase in the content of such gases would lead to a situation of global warming.