legumes (beans, peas, lentils, chickpeas, broad beans) are at the top of the list of foods that cause bloating.