I always thought that an electrode is what transforms the mechanical energy of a generator into electrical energy. In a children's book about technology that I was reading yesterday, I saw something that has confused me. The book seemed to imply that the movement of a the wires of a coil through a magnetic field created or increased the electricity in the wires. It makes sense to me that the movement of wires through a magnetic field could increase the power of the electricity, but I don't understand how the movement of wires through a magnetic field could create electricity in the first place if there was no electricity in the wires before. How is the mechanical energy of a generator transformed into electrical energy?