Answer:
An alternating current is produced by an electric generator. An electric generator consists of a magnet and a loop of wire which rotates in the magnetic field of the magnet.