The spent or used water from a home, community, farm, or industry that contains dissolved or suspended matter. The primary objective of wastewater treatment is to convert raw sewage into sufficient quality water that can be discharged into a stream or lakes and not cause damaging effects throughout the ecosystem and environment. Toilet water, washing water, bathing water, and rainfall runoff are some of the main sources that form wastewater.