Producing methane from manure is fairly straightforward. Seal manure in an airtight container and it forms biogas: a mixture of methane (CH 4), carbon dioxide (CO 2), and trace amounts of other gases.The process is so automatic, before Pasteur, anaerobic digestion was considered a prime example of spontaneous generation.