Greenhouse gases (GHGs) are gases in the Earth's atmosphere that trap heat, causing the greenhouse effect. Carbon dioxide (CO2), methane (CH4), nitrous oxide (N2O), and fluorinated gases are examples. They contribute to global warming and climate change.