Farts are intestinal gasses. When we eat food, we might think that all were taking in is solid food but in reality some air comes with it. These can be composed of nitrogen, oxygen, hydrogen, carbon dioxide and methane. When our intestines break down our food these gasses come out. Naturally the body has to release them as well thus we have farts.
This is a perfectly normal bodily activity. If you fart a lot don’t be alarmed and think that there is something wrong with you. It’s most likely your diet that’s giving you a lot of flatulence. Some foods like beans release more gas than others so you might want to avoid those.