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 RDC railcar
Metrolink F59PH
TGV Euroduplex
DB VT 11.5
DR Class 243
DR E04
DR V100
Amtrak ALC-42 Charger
B&A GE 70-ton switcher
B&O F7 / MARC 7100
Baldwin DS-4-4-660