The answer is they are electrically charged either positive or negative.
Ionic compounds will be compounds comprised of particles. These particles are atoms that pick up or lose electrons, giving them a net positive or negative charge. Metals have a tendency to lose electrons, so they progress toward becoming cations and have a net positive charge.