This illustrates the Lorentz force, or Laplace force, as predicted by Maxwell’s equations. A current flowing through a magnetic field experiences a force determined by the cross product of the current vector and the magnetic field.
See demonstration K1-04 in this section for a more portable version of this experiment.