Two of the most important implications of the relationship between electricity and magnetism. The electric motor and the electric generator by definition and electric generator is a device that converts mechanical energy into electrical energy using electromagnetic induction. The conversion up electrical energy into mechanical energy is done by an electric motor.