Spectator ions are those ions which are same on both side of chemical reaction. These ions are same in the reactant side and product side. Their presence can not effect the chemical equilibrium that's why when we write the net ionic equation these ions are neglect or omitted.