An electric locomotive is powered by electricity from overhead lines, third rails, or onboard energy storage. There are two main types of traction systems - non-electric and electric. Electric traction systems use electric motors powered by drawing electricity from utilities, diesel generators, or batteries to produce movement. The main parts of an AC electric locomotive include the pantograph, circuit breaker, transformer, rectifier, main inverter, and battery.