Ionic bonds are very strong, with elements involved in a compound having a full outer shell of electrons due to donating and accepting electrons, allowing them to be in a very stable state. In this case, Sodium donates one electron to chlorine. And because these bonds are very strong, a lot of energy is required to break these bonds, resulting in very high melting and boiling points.