Epoxy resins are preferred in histology because of their excellent mechanical properties and superior chemical resistance. They provide a hard, stable matrix that preserves the intricate details of biological structures. Additionally, they are compatible with electron microscopy, allowing for high-resolution imaging of embedded tissues.