Almost all cars have an alternator attached to the engine.