In solid sodium chloride NaCl , the type of bonding present is ionic bonding. Ionic bonding occurs when there is a transfer of electrons between atoms, resulting in the formation of positively charged ions cations and negatively charged ions anions . These ions are then attracted to each other due to the electrostatic forces between the opposite charges.In the case of sodium chloride, sodium Na is a metal from Group 1 of the periodic table, and it has one valence electron. Chlorine Cl is a non-metal from Group 17 of the periodic table, and it has seven valence electrons. Sodium tends to lose its one valence electron to achieve a stable electron configuration, while chlorine tends to gain one electron to complete its valence shell and achieve a stable electron configuration.When sodium loses its valence electron, it becomes a positively charged ion Na+ , and when chlorine gains an electron, it becomes a negatively charged ion Cl- . The electrostatic attraction between the Na+ and Cl- ions forms an ionic bond, resulting in the formation of sodium chloride NaCl .In solid NaCl, these ions are arranged in a regular, repeating pattern called a crystal lattice. The ionic bond between the Na+ and Cl- ions holds the lattice together, giving sodium chloride its characteristic properties, such as high melting and boiling points, and its ability to dissolve in water and conduct electricity when dissolved or molten.