Question: are motors and generators the same thing?
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.