Gases that trap heat in the atmosphere, contributing to the greenhouse effect. The primary greenhouse gases in Earth’s atmosphere are water vapor, carbon dioxide, methane, nitrous oxide, and ozone. These gases are responsible for the warming of the planet.