A magnetic field applies a force to electrons.