What is the difference between the supplements magnesium oxide and magnesium gluconate?

Magox has more mag. Both are salts of magnesium that supply body with magnesium if needed. However, milligram for milligram mag oxide has more magnesium that mag gluconate.