What happens from a molecular viewpoint near a magnetic field?