Fermentation is the process by which gut bacteria break down certain fibres and carbohydrates. This process produces beneficial compounds such as short-chain fatty acids, but excessive fermentation can also contribute to symptoms such as bloating and gas in some individuals.