Simethicone is an anti-foaming agent that helps reduce bloating, discomfort, or pain caused by excessive gas in the stomach or intestines. It works by breaking up gas bubbles, making it easier to eliminate gas through belching or passing.