A DC motor is any of a class of rotary electrical machines that converts direct current electrical energy into mechanical energy.
The most common types rely on the forces produced by magnetic fields