The antacid is a base which neutralizes excess of acid in the stomach. During digestion of food, the stomach secretes hydrochloric acid. Sometimes there is hyperacidity due to excessive secretions of hydrochloric acid. These acids are neutralized by antacids.