alternator—a device that converts mechanical energy into alternating-current electricity, especially in a vehicle