ELI5: Explain Like I'm 5

Electric generator

An electric generator is a machine that uses a fuel source, like a fossil fuel, to create electricity. The electricity is created by spinning a coil of wire between two magnets. As the coil spins, it produces an electric current. This current can be used to power lights or appliances in your home.