To maintain prescribed levels of chlorine in the swimming pool and spa and to ensure that pH levels and water balance are kept constant.