The main gases responsible for the greenhouse effect include carbon dioxide, methane, nitrous oxide, and water vapor (which all occur naturally), and fluorinated gases (which are synthetic). Bacteria are responsible for both the production and consumption of greenhouse gases such as carbon dioxide (CO2), nitrous oxide (N2O) and methane (CH4).