Legumes refer to plants that grow fruit in the form of a pod. Examples include beans, peas, lentils, and soybeans. These foods are all high in fiber and protein, which is what makes them good for you, but also what makes them hard to digest.Because legumes are packed with fiber that our bodies can't absorb, our gut bacteria goes to work on them instead, which causes gas and bloating.To avoid this, try eating legumes with whole grains that are easy to digest like rice or quinoa, or soak dried beans overnight, which helps to break down non-digestible fiber.