In this reaction Magnesium removes Oxygen from Carbon (IV) Oxide. This shows that Magnesium is more reactive than Carbon