Electrical current can transfer energy from an energy source to a device in two ways. We are used to a cell providing current in one direction only. We call this direct current or DC.
However, it is possible to transfer energy using a current that changes direction all the time. By moving electrons one way, then back, then repeating, energy can be transferred. We call this alternating current or AC.