Magnet
Rare earth (lanthanoid) elements have a partially occupied "f" electron shell (which can accommodate up to 14 electrons). The spin of these electrons can be aligned, resulting in very strong magnetic fields, and therefore, these elements are used in compact high-strength magnets where their higher price is not a concern. The most common types of rare-earth magnets are samarium-cobalt and neodymium-iron-boron (NIB) magnets.
Ferrite core
Ferrites are ceramic compounds of the transition metals with oxygen, which are ferrimagnetic but nonconductive. Ferrites that are used in transformer or electromagnetic cores contain iron oxides combined with nickel, zinc, and/or manganese compounds. They have a low coercivity and are called ""soft ferrites"" to distinguish them from ""hard ferrites"", which have a high coercivity and are used to make ferrite magnets. The low coercivity means the material's magnetization can easily reverse direction without dissipating much energy (hysteresis losses), while the material's high resistivity prevents eddy currents in the core, another source of energy loss. The most common soft ferrites are: