What is in that water that you just drank? Is it just hydrogen and oxygen atoms? Is it safe for drinking? All water is of a certain "quality" (and you can't tell by just looking), but what does "water quality" really mean? Water full of dirt and grime might work fine for a tomato plant but would you want to drink it? Water quality can be thought of as a measure of the suitability of water for a particular use based on selected physical, chemical, and biological characteristics.
pH is a measure of how acidic/basic water is. The range goes from 0 to 14, with 7 being neutral. pHs of less than 7 indicate acidity, whereas a pH of greater than 7 indicates a base. The pH of water is a very important measurement concerning water quality.