 Some of those gases are carbon dioxide, methane, and nitrous oxide.These gases occur because of the decomposition of organic material from the anaerobic bacteria.These bacteria clean the leftover waste.