Answer
The trapping of heat from the earth's atmosphere is called the greenhouse effect. Carbon dioxide is one of the gases responsible for this effect. Some other gases like methane, nitrous oxide and water vapours also contribute towards this process.