Many sewage treatment plants are equipped to process waste using anaerobic digestion, in which the sewage sludge is held in an oxygen-free chamber to ferment and break down. As part of that degradation, biogas such as methane can be reclaimed from that sludge.
A silver lining in sewer sludge: Volatile fatty acids
