A potentiometer is used to measure EMF accurately because it works on the principle of null deflection.
When the galvanometer shows zero deflection, it indicates that no current flows through it, ensuring that the EMF of the cell is measured without drawing any current.
This avoids internal resistance effects, making the measurement highly accurate.