Certain vegetables such as Brussels sprouts, broccoli, cabbage, asparagus, and cauliflower are known to cause excess gas. Like beans, these vegetables also contain the complex sugar, raffinose. However, these are very healthy foods, so you may want to talk with your doctor before eliminating them from your diet.