The scientific measurement and monitoring of water quality, including testing for pollutants and harmful contaminants.