Conifers, such as pines, spruces, and firs, produce sticky resins that protect the trees from insects and pathogens. Important components of this resin are diterpenes, special natural substances that repel bark beetles and fungi. The enzymes that produce these compounds are called diterpene synthases.