Biogas is produced through the anaerobic digestion of organic matter such as manure, food waste, and crops. It is comprised primarily of methane and carbon dioxide. The digestion occurs in anaerobic digesters, which are air-tight tanks that transform biomass into methane gas. This biogas can then be used as an energy source for heating, electricity, or transportation fuel after processing. Producing biogas also has environmental benefits as it manages waste and provides renewable energy.