It's just a coil of wire with a spinning magnet on top. The gear spins the flywheel, which houses the magnet, and rotates above the spool of fine copper wire. The copper wiring is connected directly to the lightbulb (no resistor, capacitor, etc.)
I guess this is more of an engineering question...