Why take Milk of Magnesia

What if the medicine Milk of Magnesia used for ?

It is used as antacid, laxative which also relieve indigestion and heartburn. When used topically is effective in mouth ulcer and dandruff.