how a ac generator works?
An alternating current (ac) generator is a device that produces a potential difference . A simple ac generator consists of a coil of wire rotating in a magnetic field. Cars use a type of ac generator called an alternator to keep the battery charged and to run the electrical system while the engine is working.