An electric motor is an electrical machine that converts electrical energy into mechanical energy. Most electric motors operate through the interaction between the motor's magnetic field and electric current in a wire winding to generate force in the form of torque applied on the motor's shaft. An electric generator is mechanically identical to an electric motor, but operates in reverse, converting mechanical energy into electrical energy.
Faraday's electromagnetic experiment, 1821, the first demonstration of the conversion of electrical energy into motion
Jedlik's "electromagnetic self-rotor", 1827 (Museum of Applied Arts, Budapest). The historic motor still works perfectly today.
An electric motor presented to Kelvin by James Joule in 1842, Hunterian Museum, Glasgow
Rotor (left) and stator (right)
In electrical engineering, electric machine is a general term for machines using electromagnetic forces, such as electric motors, electric generators, and others. They are electromechanical energy converters: an electric motor converts electricity to mechanical power while an electric generator converts mechanical power to electricity. The moving parts in a machine can be rotating or linear. While transformers are occasionally called "static electric machines", since they do not have moving parts, generally they are not considered "machines", but as electrical devices "closely related" to the electrical machines.
Electric generator.
Electric motor.