In an escalator, a sprocket is a toothed wheel that meshes with the chain to drive the pallets or steps. Thus, guaranteeing coordinated movement.