How excavator chain tracks works?

It has track motor which operates by the Hydraulic pump.

Track motor having planetary gear where sprocket mounted on motor

SolidworksParts And Features