The chief function of magnesium is to activate certain enzymes, especially those related to carbohydrate metabolism