The equation shows the reaction of magnesium with carbon dioxide. $2\text{Mg} + \text{CO}_2 \rightarrow 2\text{MgO} + \text{C}$. Which statement correctly describes the change taking place in this reaction?
- ACarbon is oxidised.
- BMagnesium is reduced.
- CNeither oxidation nor reduction happens.
- DThe carbon in carbon dioxide is reduced.