If you heat a kilogram of ice in a closed container, it will change from a solid to liquid to a gas, but the mass stays the same.

17