Electric Generator

An electric  generator works on the principle of electromagnetic induction. When a coil is rotated in the presence of a strong magnet, electricity is produced.
See the video below for demonstrating a simple electric generator.