The correct option is D NaOH
Our stomach produces hydrochloric acid for digestion of food without harming the stomach. During indigestion, excess of acid is produced and this causes pain and irritation.
To get rid of this pain, people use mild bases called antacids. Antacids are basic in nature and they neutralise the effect of excess acid.
Mg(OH)2, Al(OH)3, and NaHCO3 being mild bases can be used as an antacid during acid indigestion but NaOH (a strong base) is unfit for consumption.