Generators use electromagnetic induction to convert mechanical energy into electrical energy. In an AC, or alternating current, generator, the electrical current periodically reverses direction. With a DC, or direct current, generator, the current flows only in one direction.