pH is a measure of the concentration of hydrogen ions in a solution, with values below 7 indicating acidity and above 7 indicating alkalinity. There are several methods to measure pH, including using indicators that change color depending on pH and compare to a standard, using a hydrogen electrode immersed in the solution, or using a glass electrode and reference electrode to measure the voltage between them. pH sensors are important for quality control in industries like pharmaceutical, chemical, food production, and more.