In an ISFET, the gate electrode is exposed to the solution containing the ions of interest. The ion-selective membrane reacts with these ions, causing a change in the electric potential at the gate. This change affects the current flowing through the transistor, which can then be measured and correlated to the concentration of the target ions. The overall process is characterized by its high sensitivity and specificity.