An electric motor is electric machinery that converts electrical energy supplied to it to mechanical energy.
It works on the principle of applying a magnetic field in electromagnetism.
A current-carrying loop is exposed to a magnetic field which results in torque.
The torque formed rotates the coil which is then followed by rotation of propellers as the current passes through the loop.
Explanation
An electric motor consist of a rotor- a moving part, commutator, brushes, axle, field-magnet, power supply and a stator- a part going around the rotor.