A potentiometer is a device that allows you to measure displacements or turns. A rotary potentiometer, like the one in the image below, can measure angles.
A linear potentiometer, like the one in the image below, can measure linear displacements.
These components are also used to quickly enter values into a digital system. Examples of this would be sound controls, light intensity dimmers, etc.