Electricity can make magnets. If you follow the instructions in the Activity Electromagnetism you will find you can make a magnet with an iron bolt or nail. Magnets and Electricity Diagram Magnets can create energy. read more
The computer turns the electricity on and off rapidly in the primary, which creates the magnetic flux. One time I simply switched off a motorcycle with the key. This cut the power to the coil, and the flux created a 20,000 volt pulse in the spark plug. read more