Many trains operate solely on electrical power. They get the electricity from a third rail, or electrical line, which is present along the track. Transformers transfer the voltage from the lines, and the electrical current enables the motors on the wheels to move.