Hydrochloric acid is produced in our stomach. The excess acid in the stomach causes indigestion which produces pain and irritation. This effect can be cured by using antacids. Antacids (a group of mild bases) react with excess acid in the stomach and neutralise it.