Excessive gas can be caused by a variety of factors, including swallowing more air than usual, overeating, smoking, chewing gum, or consuming certain foods and drinks. Foods that are known to cause gas include beans, peas, fruits, vegetables, whole grains, and carbonated beverages. Additionally, medical conditions such as chronic intestinal disease, small bowel bacterial overgrowth, and food intolerances can also contribute to excessive gas. It's important to talk to a doctor if gas symptoms bother you or if you experience other symptoms such as abdominal pain, constipation, diarrhea, or weight loss