Propulsion for the train is provided by a separate locomotive, or from individual motors in self-propelled multiple units. Most modern trains are powered by diesel locomotives or by electricity supplied by overhead wires or additional rails, although historically (from the early 19th century to the mid-20th century) the steam locomotive was the dominant form of locomotive power. Other sources of power (such as horses, rope or wire, gravity, pneumatics, batteries, and gas turbines) are possible.
More to read:
http://en.wikipedia.org/wiki/Train