What is the difference between altenating current and direct current?

The current (or electrons if you will {but thought of as flowing in the opposite direction} in a DC circuit flows only in one direction.

In an AC circuit the current periodically flows in the opposite direction

(in the US this usually happens 120 times a second, so 60 cycles per second.)