After eating certain foods, excess acid used to break down those foods can cause a burning sensation in your stomach. This acid can be neutralized by taking an antacid like magnesium hydroxide.
Container of colorful antacid tablets.
Container of colorful antacid tablets.
Antacid tablets for heartburn and indigestion
The chemical equation for this reaction is shown below.

Complete the table to show the state of matter for each substance in the equation.
Substance State of matter
magnesium hydroxide


hydrochloric acid


water


magnesium chloride