Step-by-step explanation:
It is happening when a sodium atom loses an electron to a chlorine atom and because of that sodium atom is becoming a positive sodium ion and the sodium ions and chloride ions form an ionic lattice.
Sodium - Na
Chloride - Ch
Sodium and Chloride are both elements that cannot be found separately and free in nature but they are found as bonded together.