There are two main types of dietary fibers - soluble and insoluble. Soluble fiber can help promote digestion and is useful in foods that reduce bloating. On the other hand, insoluble fiber cannot be broken down in the stomach, and gut bacteria may ferment it, causing gas buildup and bloating.