Magnesium hydroxide is a weak base having low solubility in water. It reacts moderately with acids or water and is chemically safe to be consumed. Therefore, to relieve indigestion, it is used as an antacid as it helps in neutralizing excess acidity in the stomach.