Individual escalator steps are connected to two sets of wheels: one near the bottom and one near the top. They allow the step to stay flat before rotating underneath when it reaches the end.