In pure water, the concentration of ions is very low, so it is a poor conductor of electricity. However, when impurities such as salts or acids are dissolved in water, the concentration of ions increases and the water becomes a better conductor of electricity.
The conductivity of a liquid is also affected by its temperature. As the temperature of a liquid increases, the ions move more quickly and the conductivity increases.