Why could you say that IMFs are a forms of electromagnetic attraction? That is, how do IMFs act like magnets?
IMFs attract molecules within a solution of liquid or gas.
IMFs are like magnets because they keep the molecules in a solution together. Check out the water on penny experiment and you will see the convex meniscus as the hydrogen bonds, dipole-dipole and London dispersion forces are acting between the molecules.