* Sodium is a chemical element, a soft, silvery-white metal that is highly reactive. It's found in nature only in compounds, never as a pure element.
* Salt, or table salt, is a chemical compound made of sodium and chlorine. Its chemical name is sodium chloride (NaCl).
So, sodium is a component of salt, but salt is a compound containing sodium and chlorine.