An electric motor changes electrical energy into mechanical movement. A dynamo or an electric generator does the reverse: it changes mechanical movement into electric energy. Most electric motors work by using the force of magnetism. Electrostatic motors have also been used. 