Simethicone is an over-the-counter medication used to relieve bloating, discomfort, and pain caused by excessive gas in the stomach and intestines. It works by reducing the surface tension of gas bubbles, allowing them to coalesce and be expelled more easily.