While legumes offer numerous health benefits, they can also cause gastrointestinal discomfort for some people, such as bloating and gas. This is due to their high fiber content and the presence of certain carbohydrates that can be difficult to digest. It's important to introduce legumes gradually into the diet and to prepare them properly to minimize these side effects.