Ionic compounds have a structure called a giant ionic lattice
The ions form a closely packed regular lattice attachment and there r very strong electrostatic forces of attraction between oppositely charged ions, in all directions in the lattice
Sodium Chloride is one giant ionic lattice
Ionic compounds have high melting and boiling points due to the may strong bonds between the ions
When they're solid, the ion r held in place so the compounds can't conduct electricity
When they melt, the ions r free to move and they'll carry electric charge
Some of these dissolve in water. The ions separate and r free to move in the solution, so they'll carry electric charge