Magnesium hydroxide is used primarily in "Milk of Magnesia", a white aqueous, mildly alkaline suspension of magnesium hydroxide formulated at about 8%w/v. Milk of magnesia is primarily used to alleviate constipation, but can also be used to relieve indigestion and heartburn. When taken internally by mouth as a laxative, the osmotic force of the magnesia suspension acts to draw fluids from the body and to retain those already within the lumen of the intestine, serving to distend the bowel, thus stimulating nerves within the colon wall, inducing peristalsis and resulting in evacuation of colonic contents.
belongs to the class of inorganic compounds known as homogeneous alkaline earth metal compounds. These are inorganic compounds containing only metal atoms,with the largest atom being a alkaline earth metal atom.