Staining techniques exploit the physical and chemical properties of tissues and dyes. For example, hematoxylin stains nuclei blue due to its affinity for DNA, while eosin stains cytoplasmic components pink. The differential staining is a result of the physical interaction between the dye molecules and the tissue components.