Solution:
Concept- The two constituents of biogas are methane and carbon dioxide. Biogas is a mixture of gases liberated by the breakdown of organic matter in absence of oxygen.Biogas is also sometimes called swamp gas, sewer gas, compost gas, and marsh gas. Biogas is a naturally occurring and renewable energy source produced by the decomposition of organic matter by certain bacteria under anaerobic conditions.
It is a mixture of 50-75 % methane (
These gases combust with oxygen and the energy released on this combustion is used for different purposes such as cooking.
Hence, the answer is methane and carbon dioxide.