DC Motor:-
A DC motor is any of a category of electrical machines that produced mechanical energy into direct current. The most common varieties rely on the forces made by magnetic fields. Nearly every kind of DC motors has some internal mechanism, either electromechanical or electronic; to sporadically modification the direction of current flow in part of the DC motor.
stepper motor also converts electrical energy
into mechanical energy. but It is a brushless
DC electric motor that divides a full rotation into a number of equal
steps. The motor's position can then be commanded to move and hold at one of
these steps without any feedback
sensor, as long as the motor is carefully sized to the
application in respect to torque and speed.