Why is the chlorine that is added to final,

treated waste water allowed to get used up

before it is discharged into a river or lake?