The attraction between the two are called ionic forces or ionic bonds.
The compound is sodium chloride - NaCl (table salt).
Chlorine is a pure substance, an element. Sodium is a pure substance, an element. Therefore there can be no Sodium IN Chlorine. The two elements can react together in equal proportions to form a new substance, a compound called Table Salt.
Sodium and chlorine
-1
-1
You'd get sodium chloride ("salt").
It is possible because sodium and chlorine put together is a harmless compound. If you were to put chlorine and bleach together, that would be a different story.
-1
Sodium chloride has no charge.
Salt
sodium and chlorine
Sodium and chlorine react together to fom sodium chloride (common salt) which is an ionic compund with an ionic formula of Na+ Cl-