Stachyose is widely present in legumes and are indigestible by humans because of a lack of α-galactosidase. As a result, these compounds undergo fermentation in the colon with the concomitant production of CO2, H2, and CH4, commonly referred to as flatulence.