The law of conservation of mass, or principle of mass conservation, states that for any system closed to all transfers of matter and energy (both of which have mass), the mass of the system must remain constant over time, as system mass cannot change quantity if it is not added or removed.