Advanced Farm Interview Question

How does a stepper motor work?