A reaction vessel contains equal masses of magnesium metal and oxygen gas. The mixture is ignited, forming MgO. After the reaction has gone to completion, the mass of the $\mathrm{MgO}$ is less than the mass of the reactants. Is this result a violation of the law of conservation of mass? Explain your answer.