Solid or semisolid natural organic flammable substance formed by plant secretions that are typically not water-soluble
resin (Wikipedia)
In polymer chemistry and materials science, a 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 mainly on naturally occurring resins.
Plants secrete resins for their protective benefits in response to injury. Resins protect plants 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.