The importance of carmine in histological staining lies in its strong affinity for certain biological molecules. It binds selectively to acidic polysaccharides, which are abundant in various tissues, thereby providing a clear contrast against the surrounding tissue. This selectivity allows researchers to differentiate between different tissue types and cellular components.