The correct option is B carbon dioxide
Biogas is formed by the anaerobic decomposition of plant and animal matter in a closed biogas plant. The major constituent of it is methane gas (about 50%-65%) but it has traces of other gases like ethane C2H6), butane (C4H10), etc.
Biogas undergoes complete combustion when burnt in the presence of air as shown below.
CH4(g)+2O2(g)→CO2(g)+2H2O(g)