Magnetism in materials arises from the magnetic dipole moments of atoms, which are primarily due to the intrinsic spin of electrons and their orbital motion around the nucleus. The spin motion is the dominant contributor.