Biogas is produced through the anaerobic digestion of organic matter. Its primary components are methane (CH4) and carbon dioxide (CO2). Methane typically constitutes 50% to 75% of biogas volume and is the combustible component that gives biogas its energy value.