Gases in Earth's atmosphere that trap heat. They let sunlight pass through the atmosphere, but they prevent the heat that the sunlight brings from leaving the atmosphere. The main greenhouse gases are: Water vapor; Carbon dioxide, Methane, Ozone, Nitrous oxide, and Chlorofluorocarbons.