This kind of attraction takes place during an ionic bond. This is where oppositely charges ions of metals and nonmetals, attract towards one another forming certain crystalline type of structures, called ionic lattices.
The ionic bond is a type of chemical bond, which makes the positive and negative ions stick together<span>. The electrostatic force of attraction present between the </span>oppositely charged atoms<span> or ions makes them </span>stick together<span>. Generally, </span>atoms<span> are electrically neutral (have equal number of electrons and protons). hoped this helps ya :3</span>