Nitrates have to be removed before the treated water can be discharged into the environment.