 Respiration may be aerobic, with a well-oxygenated filter bed such as a slow sand filter.Anaerobic digestion by methanogens generate useful methane gas as a by-product.Microorganisms are used in fermentation to produce ethanol, and in biogas reactors to produce methane.