Question: how does ac generator produce current?
Answer: In an AC generator, the coil through which current flows is fixed and the magnet usually moves. The south and north poles of the magnet make the current flow in opposite directions, thereby creating an alternating current. In contrast, the coil in a DC generator is not fixed; rather it rotates in a fixed field.