A buffer minimizes changes in pH of a solution as H+ is added to or removed from the system.