What is an electric motor ? What is its principle?

An electric motor is a device which converts electrical energy into mechanical energy.
Principle of electric motor - when a current carrying wire is placed in a magnetic field , it experiences force. The direction of this force can be made out through the Fleming’s left hand rule .