# Why are paramagnetic materials attracted to ferrimagnetic materials(such as iron, nickel, and cobalt)?

Diamagnetism exists in every molecule or ionic compound. It is the ability to be repelled by a magnetic field.

So you might think from this, that liquid oxygen would either be repelled by the magnet or not affected at all, yet it is attracted to it.

$\ce{O2}$ is paramagnetic, but how can a paramagnetic material like oxygen be attracted to a ferrimagnetic material like Iron other than the fact, that neutral attracts both positive and negative charges and $\ce{O2}$ is neutral.

Is it just this, or is there another part to it, like charged iron atoms inducing a dipole in $\ce{O2}$ or something?