Sensor that converts the activity of a specific ion dissolved in a solution into an electrical potential.