Biogas is a renewable energy source produced from the anaerobic digestion of organic matter such as agricultural waste, manure, municipal waste, plant material, sewage, green waste, or food waste. The primary components of biogas are methane (CH4) and carbon dioxide (CO2), with trace amounts of other gases.