Hydrogen is produced in large quantities in patients with malabsorption syndromes and after ingestion of certain fruits and vegetables containing indigestible carbohydrates (eg, baked beans), sugars (eg, fructose), or sugar alcohols (eg, sorbitol).