When a chemical reaction takes place, reactants are changed to products. Atoms of reactants are rearranged to make the products or we can say that, number of atoms of each element is same in both the side of the reaction.
For eg. - Take a reaction,
1) NaOH + HCl NaCl + H2O
Here, Atoms of Na(sodium), O(oxygen), Cl(Chlorine) ,and H(hydrogen) on both the sides are same, they just have rearranged themselves. Na has rearranged itself form NaOH to NaCl. So after rearrangement of these atoms, new compounds NaCl and Hā2O are formed.
2) 2Na + 2H2O 2NaOH + H2
3) CuO + H2 Cu + H2O
here, oxygen atom is rearranged from CuO to H2O.