A chemical equation represents a chemical reaction using formulas to show the reactants and products. It uses coefficients to indicate the ratio in which substances react or are produced, and parentheses to show the state of each substance. A chemical reaction conserves mass according to the law of conservation of mass. There are four main types of chemical reactions: synthesis, decomposition, single replacement, and double replacement.