A DC motor converts electrical energy into mechanical energy using a magnetic field and electricity to produce torque. It consists of a stator, armature, rotor, and commutator with brushes. Opposite magnetic fields inside the motor cause the rotor to turn, producing rotational motion. DC motors are commonly used in appliances and vehicles.