Buffers are composed of a weak acid and its conjugate base or a weak base and its conjugate acid. They work by neutralizing added acids or bases, thereby minimizing changes in pH. Commonly used buffers in histology include phosphate-buffered saline (PBS), Tris buffer, and HEPES buffer. These buffers are selected based on their pH range and compatibility with the tissue processing steps involved.