Atoms in chemical reactions