Biogas is better fuel because:
Biogas does not causes pollution, whereas burning dung cakes cause pollution.
It does not leave ash behind after burning whereas burning dung cakes leaves ash after
burning.
It can be used for lighting, running small engines whereas dung cake can be used only for
cooking.