Peanuts can cause gas, or flatulence, but not as badly as other foods. Peanuts can cause gas because they are legumes, which are high in carbohydrates.
Carbohydrate-containing foods generally produce gas. This is because of the naturally occurring sugars in these foods, which many digestive systems find difficult to break down. When this happens to the digestive system, gas is produced.
This is different from protein-containing or fat-containing foods, which are not associated with flatulence. Most digestive systems find it easier to break down foods that contain fat or protein.
Not all legumes are equal. For example, beans are also legumes. They are more commonly associated with gas because of the raffinose sugars, which are carbohydrates and are found in beans.
Peanuts contain fewer carbohydrates than other legumes, and they also contain more fat, which means although they can cause flatulence, it is usually not as bad as other carbohydrate-containing foods, such as artichokes, asparagus, beets, Brussels sprouts, carrots and cauliflower.
It is also important to note that everyone's digestive system is different. This means that some people's digestive systems will find it harder to break down peanuts than others.