Water quality is often measured with the pH term, which means "power of hydrogen". The water's pH refers to the…