Dear student,
Biogas is a mixture of methane, carbon dioxide and other trace gasses. Biogas can be used like other fuel gas.
When produced in household-level biogas reactors ( by anaerobic digestion of organic material, usually animal dung, human excreta and crop residue), it is most suitable for cooking or lightening.
Regards.