DC motors convert electrical energy into mechanical energy using a stator and rotor. When an electric current passes through the motor, the interaction between the magnetic field and the armature causes the rotor to rotate. DC motors are widely used in robotics, automotive systems, and appliances due to their high torque and speed control capabilities.