Biogas is a mixture of gases produced by the breakdown of organic matter in the absence of oxygen, primarily consisting of methane (CH4) and carbon dioxide (CO2). Methane is the main component, typically making up 50-75% of biogas volume, and is the flammable part that makes it a useful fuel.