Citation:
Ionic compounds are chemical compounds formed by the electrostatic attraction between oppositely charged ions. They are created when a metal atom loses one or more electrons to a nonmetal atom, resulting in the formation of positively and negatively charged ions that are held together by strong ionic bonds.