sodium is very very reactive. a solid metal which must be kept under oil to keep it way from water and the atmosphere. chlorine is a very very reactive gas which is highy toxic.
Sodium chloride is an ionic compound that is stable, non toxic, un reactive and used to flavour food such as "fish 'n chips"