Many people are dependent on groundwater for their daily water supply. Yet, the quality of groundwater is degraded due to the absorption of pollutants. Untreated discharged wastewater could adversely impact downstream areas, including cities, resulting in various waterborne diseases and health issues.