Of course flatulence problems can be a sign of an underlying problem like a gastro-intestinal problem or a food intolerance. But if the flatulence is not excessive and if there are no other symptoms, flatulence is a good thing. In fact, we should be happy that we have flatulence and are passing gas because this shows that our intestines are happy.
The reason we experience flatulence is because of fiber rich foods. Fiber cannot be digested in the stomach, it is digested in the colon where bacteria feed off of the fiber and produce gas. These are good bacteria that keep our colon healthy and that cause regular bowel movements. People who don't eat enough fiber (and who don't have regular flatulence and bowel movements) have a higher risk of colon cancer. So eat the fiber, pass the gas, and stay healthy!