Locomotive

A Victorian Railways R class steam locomotive in Australia
An Indian locomotive class WDM-3A diesel locomotive in India
A China Railways HXD1D electric locomotive in China

A locomotive (also commonly referred to as the engine of a train) is a rail vehicle that provides the motive power for a train. Traditionally, locomotives pulled trains from the front. However, push–pull operation has become common, and in the pursuit of longer and heavier freight trains, companies are increasingly using distributed power: single or multiple locomotives placed at the front and rear and at intermediate points throughout the train under the control of the leading locomotive.