Affinity in histology refers to the degree of attraction between a dye and the tissue components during the staining process. This attraction determines how well a stain binds to specific cellular structures, allowing for better visualization under a microscope. Affinity is a critical concept in histology because it influences the quality and reliability of histological stains.