The document discusses various methods for treating wastewater, including removing nitrogen, phosphorus, and heavy metals. It describes the biological processes of nitrification and denitrification for removing nitrogen. Nitrification converts ammonia to nitrates while denitrification converts nitrates to nitrogen gas. Phosphorus can be removed through chemical precipitation or biological removal by certain bacteria. Heavy metals are removed using physico-chemical methods like adsorption, ion exchange, reverse osmosis, and electrodialysis.