How Is Electricity Generated? An electric generator is a tool for converting mechanical energy into electrical energy. The method relies on the connection between magnetism and electricity. Each time a wire or almost every other electrically conductive material moves across a magnetic discipline, An electrical current occurs while in the wire. The