If we compare the aqueous solutions before and after the reaction, sodium and nitrate ions are present in both solutions. They do not undergo any chemical change at all. These ions are called spectator ions since they don't participate in the chemical reaction at all (they just "watch").