Any generator requires a given magnetic field to produce an emf. One way of obtaining the required magnetic field is a permanent magnet. In a car alternator there are no magnets but there is always a battery available. How do you suppose the alternator works? Note. An alternator is an ac generator.