Hyperacidity causes ulcer development in stomach. Hypracidity is due to excessive secretion of hydrochloric acid. The excess acid can be neutralized by using antacids such as sodium bicarbonate, magnesium and aluminium hydroxide. Thus, antacids are used to remove acidity in stomach.