Mathematical models of chemical reactions