A hydrogen breath test measures the amount of hydrogen in the breath after the ingestion of a specific carbohydrate substrate, such as lactose or fructose. Normally, only a small amount of hydrogen is present in the breath. However, when there is an overgrowth of bacteria or malabsorption, these bacteria ferment the carbohydrates, producing hydrogen which is then absorbed into the bloodstream and exhaled through the lungs.