The motor in reverse
A generator is an electric motor run backwards. Instead of feeding in electricity to get turning, you feed in turning and get electricity out. Spin a coil of wire inside a magnetic field, and a voltage appears in the wire — the effect Michael Faraday demonstrated in 1831.
The voltage is induced because the magnetic field through the coil keeps changing as it rotates. Connect a circuit, and current flows. Push the coil around faster, or use stronger magnets and more turns of wire, and you generate more.
From bicycle lamps to power stations
A bicycle dynamo is a pocket generator: the wheel spins a small magnet inside coils, making just enough electricity for the lamps. At the other extreme, power-station generators are metres across and produce electricity for whole cities.
What spins them varies — steam heated by coal, gas or nuclear reactions, falling water in a dam, wind turning a turbine, or a diesel engine in an emergency backup unit. The generator itself does not care; it simply converts whatever turning it receives. The conversion is silent, has no exhaust of its own, and works identically at every scale.
Why the grid hums
Because the coil's voltage rises, falls and reverses as it spins, generators naturally produce alternating current — AC. Grid generators are carefully kept spinning in step, so the current everywhere alternates at a steady 50 or 60 times a second depending on the country.
That shared rhythm is a balancing act: at every moment, the electricity being generated must match what people are using. Grid operators watch demand constantly, spinning generators up or down to keep the frequency — and your lights — steady.

