Question: what is the difference between electric motor and a generator?
Answer: A generator converts mechanical energy into electrical energy, while a motor does the opposite - it converts electrical energy into mechanical energy. Both devices work because of electromagnetic induction, which is when a voltage is induced by a changing magnetic field.