glass electrode
Look at the bulb at the tip of any pH probe — that thin, fragile dome of special glass is doing the actual sensing. It seems strange that glass, which we think of as an insulator, can sense acidity, but the trick is that a very thin hydrated layer of this glass quietly exchanges hydrogen ions with the solution, and that exchange sets up a voltage. The glass electrode is, in short, the original and still the most common pH sensor.
Formally, the glass electrode is an ion-selective indicator electrode whose thin glass membrane develops a potential that depends, in a Nernstian way, on the hydrogen-ion activity of the surrounding solution — that is, on its pH. A typical probe combines this glass membrane with a built-in internal reference and, in a combination electrode, an external reference too, all in one body for convenience.
It matters because it made fast, direct pH measurement routine across chemistry, biology, medicine, food, and the environment, replacing slower color indicators. The honest caveats are real: the bulb is fragile and must stay hydrated, response slows in very acidic, very alkaline, or non-aqueous samples, and at very high pH an 'alkaline error' lets sodium ions intrude and read the pH too low — so calibration with fresh buffers and gentle handling are not optional.
Before measuring soil-water pH, a technician soaks the glass electrode, then dips it in pH 4.00 and pH 7.00 buffers to set the slope and offset; only then does the reading on the unknown sample mean anything trustworthy.
A thin glass membrane senses hydrogen-ion activity, i.e. pH.
Most 'pH probes' you buy are combination electrodes: the glass sensing electrode and its reference electrode are packed into one stem. If readings drift or will not calibrate, suspect the reference junction as often as the glass itself.