Magnesium hydroxide (Mg(OH)₂) functions as an acidity regulator and magnesium supplement ingredient.