In a DC motor, the stator provides a rotating magnetic field that drives the armature to rotate. A simple DC motor uses a stationary set of magnets in the stator, and a coil of wire with a current running through it to generate an electromagnetic field aligned with the centre of the coil.