It’s an electromagnet pendulum analog circuit ... with electromagnets so they can move on to the next logical steps: coil guns and web shooters.
A coil of wire, or solenoid, consists of a wire coiled up into a spiral shape. When an electric current flows, the shape of the magnetic field is very similar to the field of a bar magnet.