Their study also identified a dozen types of bacteria that ferment dietary fiber (undigested carbohydrates) in the gut to produce butyrate, a short-chain fatty acid, which may play a role in protection against type 2 diabetes.