Biogas systems use bacteria to break down wet organic matter like animal dung, human sewage, or food waste. This produces biogas, is a mixture of methane, carbon dioxide, and a semi-solid residue. The biogas used as a fuel for cooking, lighting, or generating electricity. Using biogas can save the labor of gathering and using wood for cooking, minimize harmful smoke in homes, and cut deforestation and greenhouse gas emissions.