Citrate buffer is primarily used in immunohistochemistry (IHC) and immunocytochemistry to enhance antigen-antibody interactions. It is also used in other histological techniques to improve staining quality and tissue morphology. Additionally, citrate buffer is sometimes employed in enzyme histochemistry and in situ hybridization protocols.