A rotary encoder is a device that can keep track of how much something has turned. This is called its angular position. That information is useful to know how far a motor has turned, for example.
Rotary encoders are often used in manufacturing and robotics. This is because they need things to be measured and controlled very accurately.