Ionic compounds have high melting and boiling points. This is because of:
Electrostatic force
In ionic compounds, the electrostatic force of attraction between the molecules of solids is very high due to the involvement of cations and anions. Therefore the boiling and melting point of these compounds are very high.