How Electric Cars Work: Motors.
It has to do with magnetism and the natural interplay between electric fields and magnetic fields. When an electrical circuit closes allowing electrons to move along a wire, those moving electrons generate an electromagnetic field complete with a north and a south pole. When this happens in the presence of another magnetic field—either from a different batch of speeding electrons or from Wile E. Coyote’s giant ACME horseshoe magnet, those opposite poles attract, and like poles repel each other.