AC has a live and neutral wire. The live wire alternates between positive and negative, and the neutral remains at zero. During the negative phase, the live wire forces electrons out, through your machine, and into the neutral wire. During the positive phase, it sucks them back. In both cases, a force pushes the electrons through the machine, and so in both cases their movement can be dammed and used to do useful work.
Latest Answers