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.

Budd Metroliner
DWA Class 670 railcar
DB VT 11.5
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
DR V100