How does it move, and what is its job?
Steam pushes pistons, and connecting rods turn the driving wheels.
The wheels grip the rails to move the train. Passenger engines and small yard engines have different jobs: maximum speed is not the only measure of a good locomotive.

DHR Class B
S&PR No. 5 Shannon
LNWR Pet
BR Class 05 D2595
BR Class 08 Phantom
BR Class 92
English Electric DP1 Deltic
B&O No. 147 Thatcher Perkins
B&O No. 57 Memnon
EIR No. 22 Fairy Queen
Flying Scotsman