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.

N&W EMD GP9
EMD Class 66
B&O No. 57 Memnon
Amtrak ALC-42 Charger
B&A GE 70-ton switcher
B&O Bo Switcher
B&O F7 / MARC 7100
Baldwin DS-4-4-660
BR Class 05 D2595
BR Class 08 Phantom
Budd RDC railcar