An alternator is a charging system for cars that produces electricity. Generators are used in the production of large-scale electricity. Both alternators and generators convert mechanical energy into electrical energy. The main difference between them is in regard to what spins and what is fixed.