The patient ingests a capsule containing a small amount of C-14-labeled urea. If H. pylori is present in the stomach, the bacteria will break down the urea into ammonia and carbon dioxide, the latter of which will contain the C-14 isotope. The patient then breathes into a collection device, and the exhaled breath is analyzed for the presence of C-14-labeled CO2.