Biogas is a gas composed principally of methane and carbon dioxide produced by anaerobic digestion of biomass or by thermal processes from biomass, including biomass in waste. In energy statistics, biogas is a product aggregate equal to the sum of landfill gas, sewage sludge gas, other biogases from anaerobic digestion and biogases from thermal processes.