How does it move, and what is its job?
A diesel engine supplies the power.
Some diesel trains send power through a gearbox or hydraulic transmission. Diesel-electric trains first make electricity for wheel motors. Read this train’s story above for its arrangement; not every diesel works the same way.

BR Class 05 D2595
PRR B1
DR V15
BR Class 92
English Electric DP1 Deltic
Flying Scotsman
FR Prince
Amtrak ALC-42 Charger
B&A GE 70-ton switcher
B&O F7 / MARC 7100
Baldwin DS-4-4-660