STPs ensure proper treatment of medical wastewater, preventing contamination of natural water bodies.