The law of conservation of mass states that in a chemical reaction, the total mass of the reactants and products remains constant.