Sodium acetate is formed when
Acetic acid reacts with sodium hydroxide to give a salt. This is an example of a neutralisation reaction because acetic acid, as the name suggests, is an acid ( a weak acid); Sodium hydroxide is a strong base.
CH3COOH+NaOH→CH3COONa+H2O
Sodium acetate is the salt of a weak acid and a strong base.