During a pH probe, a thin wire with an acid sensor at the tip is inserted through the nose. It travels to the lower part of the esophagus. The probe determines how much acid is coming back into the esophagus.