When you balance a chemical equation, what are you doing?

Aapplying the law of conservation of energy

Bapplying Mendeleev's law

Capplying the law of conservation of matter

Dapplying the periodic law