Certain gases, such as carbon dioxide, methane and nitrous oxide, trap the sun's heat in Earth’s atmosphere. These greenhouse gases (GHGs) exist naturally in the atmosphere and help keep the Earth’s surface warm enough to sustain life.