Most freight trains are diesel-electric. The locomotive has a diesel engine which provides electricity, and an electric motor which makes the wheels turn. In recent years, however, there are buses and trains that store their power in a battery or use some other source like fuel cells. These kinds of vehicles do not need wires.