Why are some metals ferromagnetic?

Why are $\ce{Fe}$ and $\ce{Ni}$ ferromagnetic?


$\ce{Fe}$ has metallic bonds, which is the electrostatic attraction between the positive metal ions and delocalized electrons.


Is it due to these charges, as well as with ions and the "sea of electrons" that makes the metal ferromagnetic?




Now this is a really complex subject... first, magnetism is actually divided on a bunch of "classes", some elements are diamagnetic and will be repelled by a magnetic field, other are paramagnetic and are attracted by the field, and there are the ferromagnetic elements like iron, nickel and others, that become permanent magnetics upon being exposed to a mag. field, other "classes" also exist but NVM them.
This behaviors are defined by subatomic interactions on electron fields, and charges in the nucleus, not so subatomic interactions between the molecules and the crystals they form and this sort of stuff. If you want an explanation on these topics I'd suggest you to take 6 minutes to watch the "[Magnets: how do they work?"](https://www.youtube.com/watch?v=hFAOXdXZ5TM) from minute physics, it's a pretty cool short video, and this channel has a lot of other cool stuff on this stuff.


 4