The pistons push or pull the rods connected to the drive wheels, providing the force needed to move the locomotive. The steam is exhausted through a nozzle and up through the smokebox into the stack. This action produces the “chuff chuff” sound heard when the locomotive is moving.