Thinking back to pKa’s etc, it sounds like a buffer thing - keeping a specific pH range and scavenging free H+ and OH- ions outside that range.