The Up-flow Anaerobic Sludge Blanket (UASB) reactor is a form of anaerobic digester used for wastewater treatment. It uses an anaerobic process to form a blanket of granular sludge suspended in the reactor tank. Wastewater flows upwards through the blanket where anaerobic microorganisms degrade the organic pollutants. Over time, the microorganisms form dense granules that efficiently remove biochemical oxygen demand, chemical oxygen demand, and total suspended solids from the wastewater. The UASB reactor also produces biogas containing methane, which can be captured and used as an energy source.