Biogas is produced through the anaerobic digestion of organic matter (like animal manure, sewage, and food waste) by microorganisms. The typical composition of biogas is roughly 50-75% methane (CH₄) and 25-50% carbon dioxide (CO₂). It also contains trace amounts of hydrogen sulfide (H₂S), moisture, nitrogen (N₂), and hydrogen (H₂). Option B lists the most significant components (Carbon dioxide and Methane) and one of the common minor components (Hydrogen).