Black beans contain oligosaccharides, a type of carbohydrate that is difficult to digest, leading to gas and bloating. Rinsing and soaking black beans before cooking can reduce the oligosaccharide content, making them easier to digest. It is also advisable to start with small servings.