The term "sewage treatment plant" (STP) (or "sewage treatment works" in some countries) is nowadays often replaced with the term wastewater treatment plant (WWTP). Strictly speaking, the latter is a broader term that can also refer to industrial wastewater.
Sewage treatment plants process and treat wastewater/sewage, breaking it down into a cleaner 'effluent' that can be returned back to nature in a safer, eco-friendly form. They help restore groundwater balance, curb diseases and stop degradation and pollution of the environment.