I agree with BEatonNo1. I'd have to say that most of the torque is generated through the gearing. The concept is similar to gears in a vehicle. 1st gear, at high RPM's generates enormous amounts of torque, but the shaft RPM is lower. Likewise, in 5th gear, the torque is forgone for higher shaft RPM, thus making it possible for higher speeds.
The motor is important, but I'd have to say that the gearing is what makes the motor useful, especially in situations where torque is important.