Magneto:

A self-contained device which generates and distributes electricity to the spark plugs from the mechanical energy of the engine. Now obsolete in four-wheelers, but still used in many two-wheelers.