In polymer chemistry and materials science, resin is a solid or highly viscous substance of plant or synthetic origin that is typically convertible into polymers. Resins are usually mixtures of organic compounds. This article focuses on naturally occurring resins. Plants secrete resins for their protective benefits in response to injury. The resin protects the plant from insects and pathogens. Resins confound a wide range of herbivores, insects, and pathogens, while the volatile phenolic compounds may attract benefactors such as parasitoids or predators of the herbivores that attack the plant.