Electricity is generated using alternating current (AC) in power plants. AC is generated by rotating a coil within a magnetic field, which induces an electromotive force (EMF) in the coil according to Faraday's law of induction. As the coil rotates, the magnetic flux passing through it changes over time, producing an alternating current whose magnitude and direction change periodically. Power plants use large rotating coils and magnetic fields to generate high voltage AC electricity on a massive scale, which is then transmitted through power lines to homes and businesses.