What is the primary function of a buffer solution?
Resists pH change when small amounts of acid or alkali are added.