How Is Electricity Produced? An electric generator is a device for converting mechanical energy into electrical energy. The method is predicated on the relationship concerning magnetism and electricity. Whenever a wire or almost every other electrically conductive material moves across a magnetic subject, An electrical current occurs while in the