Biogas is a mixture of gases produced by the breakdown of organic matter in the absence of oxygen, primarily consisting of methane and carbon dioxide.