Advanced cleaning of wastewater that goes beyond the secondary or biological stage, removing nutrients such as phosphorus, nitrogen, and most BOD and suspended solids