Biogas generation is a three stages anaerobic digestion of animal and other organic wastes by methanogenic bacteria (i) brackdown of polymers (ii) conversion of monomers into organic acids by fermentation microbes (iii) generation of methane by methanogenic bacteria (conversion of organic acids into $CH_{4}$ and$\ CO_{2}$)