This shows a basic magnetic mirror machine which has been used to confine plasma. Charged particles experience a Lorentz force which causes them to corkscrew back and forth inside a magnetic field.