Step-by-step explanation:
A bond formed due to the transfer of electrons is known as an ionic bond.
For example, KCl is an ionic compound and due to the difference in electronegativity potassium has partial positive charge and chlorine have partial negative charge.
Also, it is known that opposite charges attract each other. So, cations have positive charge and anions have negative charge.
Thus, we can conclude that the reason salt crystals, such as kcl, hold together so well is because the cations are strongly attracted to anions.