Electric motor is a machine which converts electric energy into mechanical energy. Its action is based on the principle that…