"James had it right when he said "Buffers are weak acids or bases that can absorb hydrogen or hydroxides
in reversible reactions. By "weak", I mean that the buffer does not
dissociate very well. The equilibrium of these reactions shifts so the
pH of the solution is kept within a narrow range.