A sewage treatment plant is a facility designed to receive the wastewater from domestic sources and to remove materials that damage water quality and threaten public health and safety

when discharged into receiving streams or bodies of water. The substances removed are classified into four basic areas:
1] greases and fats;
2] solids from human waste and other sources;
3] dissolved pollutants from human waste and decomposition products; and
4] dangerous microorganisms.
Most facilities employ a combination of mechanical removal steps and bacterial decomposition to achieve the desired results. Chlorine is often added to discharges from the plants to reduce the danger of spreading disease by the release of pathogenic bacteria.