An ionic compound is a chemical compound composed of ions held together by electrostatic forces termed ionic bonding. These compounds typically form between metals and nonmetals and have high melting and boiling points due to the strong attractions between the ions.