The breakdown of organic material by microorganisms in the absence of oxygen. The process results in the release of methane gas as a waste product.