Answer is: 2. can dissolve.
Ionic compounds separates into particles (ions) in water because of their ionic bond.
For example sodium chloride is ionic compound and strong electrolyte and dissociates in water on hydrated sodium cations and chlorine anions:
NaCl(aq) → Na⁺(aq) + Cl⁻(aq).
Ionic bond is the electrostatic attraction between oppositely charged ions (cations and anions).
Well I'm sure many a time you've seen on some science experiment someone wrap a copper wire around a nail well thats generally the idea for electromagnets you get a solid piece of iron which is the only metal that is magnetic and you wrap a copper wire around it and the idea is to make two opposing magnetic poles by aligning the molecules with a electrical charge (a battery) so now with all three pieces assembles you have a copper wire attached to two sides of a battery and wrapped around a nail
Boyle's law
I hope this helps