Question: how ac current is formed?
Answer: An alternating current is produced by an electric generator. ... As the wire rotates in the magnetic field, the changing strength of the magnetic field through the wire produces a force which drives the electric charges around the wire. The force initially generates an electric current in one direction along the wire.