An escalator is a motor-driven mechanical device consisting of a continuous loop of steps that automatically conveys people from one floor to another.