How Is Electricity Generated? An electric generator is a tool for converting mechanical energy into electrical energy. The method is predicated on the relationship amongst magnetism and electricity. Whenever a wire or almost every other electrically conductive material moves across a magnetic subject, an electric present takes place in the wire. T