>> Different materials have different magnetic properties. Liquid nitrogen is diamagnetic and is not attracted to the magnet. Liquid oxygen is paramagnetic. Paramagnetic substances in the liquid or solid state are generally attracted to magnetic fields. Liquid oxygen is held by the magnetic field. Any spinning electric charge creates a magnetic field. Spinning electrons produce magnetic fields with an identifiable magnetic polar orientation; so called north or south. The polar orientation of a given electron is determined by the direction of its spin.