Explain how mass and energy are similar using the law of conservation of mass and the law of conservation of energy.