Trains run on electricity because of a reason. Electric locomotives are locomotive that is powered by electricity via overhead lines, third rails or efficiency storage, such as batteries, supercapacitors or battery. The motor and generator that is electric functions solely as a power transmission device.