(D)
Two electrons are transferred per atom in the oxidation-reduction reaction between magnesium and oxygen. Magnesium is oxidized by losing two electrons, and oxygen is reduced.