Solution:
Sodium has an atomic number of 11 and an electrical configuration of 2,8,1. In its valence shell, it has one electron. Chlorine has an atomic number of 17 and an electrical configuration of 2,8,7. To complete its octet, chlorine requires one electron. Sodium gives one electron to the chlorine atom, forming sodium ion (Na+), while chlorine accepts the electron, forming a chlorine ion. Cl–
Ionic bonding is the name for this sort of connection.