Anaerobic digestion is widely used as a source of renewable energy. The process produces a biogas consisting of methane, carbon dioxide, hydrogen sulfide and traces of other “contaminant” gases. This biogas can be used directly in combined heat and power gas engines, or upgraded to natural gas–quality bio methane. The nutrient–rich digestate that is also produced can be used as fertilizer.