Conventional wastewater treatment in many regions consists of three distinct phases: primary, secondary, and tertiary. The primary treatment involves the mechanical removal of solids by sedimentation or flotation and is followed by a secondary treatment which removes organic matter through microbial decomposition. A further final, or tertiary, treatment may also be required depending on the final destination of the wastewater – such as re-entering the mains water supply.