Greenhouse gases are gases in the Earth's atmosphere that trap heat and contribute to the greenhouse effect. Carbon dioxide, chlorofluorocarbons (CFCs), and methane are all examples of greenhouse gases because they absorb and re-emit infrared radiation, causing the Earth's temperature to rise. Oxygen is not a greenhouse gas because it does not contribute significantly to the greenhouse effect. Instead, it is essential for the respiration of living organisms.