It's a compound. Sodium is a reactive element.
Many or most elements are compound, as sodium chloride, zinc aluminum, etc. Elements have to be extracted from other deposits in order to get it's pure form