The quality of water is determined by taking measurements or by taking samples of water and testing them for a range of chemicals and particles.
The most important water quality test is bacteria. Bacteria can have very negative effects on human health and the food we eat.