How does a Potentiometer Work?

Potentiometer contains infinity resistance (practically about 10MOhm) which makes maximum drop of voltage across it. This drop is sensed by digital(Such as R2R Ladder) or analog methods (Galvanometer Coil) to get voltage reading.