Worst: Legumes. It's probably not news to you, but beans, along with lentils, soybeans, and peas are gas-causing foods. These little guys are basically bursts of protein in a pod, but they also contain sugars and fibers that our bodies can't absorb.