A spectator ion is one that does not participate in the chemical reaction; it is present both before and after the reaction takes place. In an aqueous solution of sodium hypochlorate (NaOCl, bleach), sodium is a spectator ion:

Na+ + OCl- + H2O Na+ + HOCl + OH-

Spectator ions are usually not written in the chemical equation.