Or, in more modern terms, a generator is a device that converts kinetic energy into electric current, or electro-motive force.
Generators work through electromagnetic induction.