Also known as farting, passing wind, or having gas, flatulence is a medical term for releasing gas from the digestive system through the anus. It happens when gas collects inside the digestive. Recent research in animals suggests that hydrogen sulfide — one of the major components of smelly gas, the one that gives it that “rotten egg” smell — might provide some health benefits in.