The study of the magnetic behavior of materials, including ferromagnetic, diamagnetic, and paramagnetic materials.