The Zeeman effect is an effect of a magnetic field on spectral lines: states of excitation that would be degenerate (identical) are adjusted so they are not in the presence of a magnetic field. The energy associated with each electron orbital is influenced by magnetism: it could be looked at as the influence of magnetic force on the orbiting electrons, but that seems a classical view which may not be the real picture. The Zeeman effect also affects the polarization of the photons. The effect is observable with a spectropolarimeter, a useful instrument for clues to astronomical magnetic fields. Zeeman-Doppler imaging (ZDI) is a technique for using the effect.