DC MOTOR : Motor is a device that rotates when electric current gives to it.the working of electric motor is very simple. 1.the main principal is …