Dc motor is convert the electrical power to mechanical power
Generally dc motor converts electric energy into mechanical energy. A current coil, in a magnetic range, experiences a torque. And this torque rotates the coil. It is purely established on the communication of current and magnetic field.