Flatulence is a medical term for releasing gas from the digestive system through the anus. It occurs when gas collects inside the digestive system, and is a normal process.
Gas collects in two main ways. Swallowing air while you eat or drink and digestive gases such as hydrogen, methane, and carbon dioxide collect as you digest food.