This document discusses biogas production. It begins by defining biogas as a mixture of gases including methane, carbon dioxide, and hydrogen sulfide that can be used as an energy source. Common substrates used for biogas production include animal and agricultural waste. The process of biogas production occurs anaerobically in sealed digesters through four microbial phases that ultimately produce methane. Key factors that affect biogas production are temperature, pH, substrate composition, inhibitors, and maintaining anaerobic conditions. The advantages are that wastes are converted to a biofuel and fertilizer while preventing environmental pollution.