It is used to treat acidity, heartburn or Gastroesophageal Reflux Disease (GERD); a condition where the acid in the stomach flows back up into the food pipe (esophagus).