Ionic compounds are held by electrostatic force between two opposite charge ions like NaCl. Na has positive charge and Cl has negative charge. A large amount of energy is required to break the strong inter-ionic attraction. Hence, ionic compounds have a high melting and boiling point.