Gases like carbon dioxide and methane that trap heat in Earth’s atmosphere and contribute to a warmer planet.