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)
A magnetic field is a physical field that describes the magnetic influence on moving electric charges, electric currents, and magnetic materials. A moving charge in a magnetic field experiences a force perpendicular to its own velocity and to the magnetic field. A permanent magnet's magnetic field pulls on ferromagnetic materials such as iron, and attracts or repels other magnets. In addition, a nonuniform magnetic field exerts minuscule forces on "nonmagnetic" materials by three other magnetic effects: paramagnetism, diamagnetism, and antiferromagnetism, although these forces are usually so small they can only be detected by laboratory equipment. Magnetic fields surround magnetized materials, electric currents, and electric fields varying in time. Since both strength and direction of a magnetic field may vary with location, it is described mathematically by a function assigning a vector to each point of space, called a vector field.
A solenoid (electromagnet), a coil of wire with an electric current through it
One of the first drawings of a magnetic field, by René Descartes, 1644, showing the Earth attracting lodestones. It illustrated his theory that magnetism was caused by the circulation of tiny helical particles, "threaded parts", through threaded pores in magnets.
Hans Christian Ørsted, Der Geist in der Natur, 1854