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.

Baldwin DS-4-4-660
N&W EMD GP9
BR Class 05 D2595
Amtrak ALC-42 Charger
B&O Bo Switcher
B&O F7 / MARC 7100
B&O No. 147 Thatcher Perkins
BR Class 08 Phantom
Budd RDC railcar
DB VT 11.5
DR V100