Sodium and magnesium are both metallic elements in Period 3. The melting point of sodium is 98 °C, while that of magnesium is 650 °C. At room temperature, both conduct electricity, but magnesium is the better conductor.
Suggest, in terms of structure and bonding, why magnesium has a higher melting point and is a better electrical conductor than sodium.