Electrostatic force of attraction occurs between:
Ionic Compounds only
The electrostatic force of attraction occurs in an ionic bond that is present between two oppositely charged ions formed as a result of the complete transfer of one or more electrons.