When a patient with H. pylori ingests the urea solution, the bacteria in their stomach break down the urea, releasing carbon dioxide labeled with the isotope. This labeled carbon dioxide is absorbed into the bloodstream and then exhaled in the breath. The breath samples are then analyzed to detect the isotopic carbon, which indicates the presence of H. pylori.