Biogas is produced when organic matter is degraded in the absence of oxygen. This anaerobic decomposition (or anaerobic digestion) process occurs naturally in wetlands, lake bottoms, and deep in soils. Man made sites include dairy waste water lagoons and landfills. Biogas contains about 60% methane, 40% carbon dioxide, and trace amounts of nitrogen, hydrogen, and hydrogen sulfide.