The electron configuration of an atom also has consequences on its behavior in relation to magnetic fields. Such behavior is dependent on the number of electrons an atom has that are spin paired. Remember that Hund's Rule and the Pauli Exclusion Principle combine to dictate that an atom's orbitals will all half-fill before beginning to completely fill, and that when they completely fill with two electrons, those two electrons will have opposite spins.
An atom with all of its orbitals filled, and therefore all of its electrons paired with an electron of opposite spin, will be very little affected by magnetic fields. Such atoms are called diagmetic. Conversely, paramagnetic atoms do not have all of their electrons spin-paired and are affected by magnetic fields. There are degrees of paramagnetism, since an atom might have one unpaired electron, or it might have four.