The pH sensor is a scientific instrument used to measure the acidity or basicity of a solution. pH is a measure of the hydrogen ion concentration in a solution.