Oxygen (O2) exhibits paramagnetism because it has two unpaired electrons in its molecular orbital configuration. Paramagnetic substances are weakly attracted to magnetic fields due to unpaired electrons. This is why liquid oxygen can be held between the poles of a magnet.