They are held together by strong forces of attraction (electrostatic forces) that act in all directions between oppositely charged ions, i.e. ionic compounds are held together by strong ionic bonds.
Ionic compounds:
have high melting and boiling points
do not conduct electricity when solid, because the ions cannot move
do conduct electricity when molten or in solution, because the charged ions are free to move about and carry their charge.