The cycloaddition of nitrile oxides and nitrilimines to one or both of the C=C double bonds of caryophyllene is described. The possibility of introducing five-membered fused and spiro-linked heterocycles into the structure of sesquiterpenes by the 1,3-dipolar cycloaddition reactions of nitrile oxides and nitrilimines to caryophyllene was demonstrated. As a result of these reactions, pharmacophore fragments of isoxazoline and pyrazoline are introduced into the structure of caryophyllene, which leads to an increase in the conformational rigidity of the molecule. A complete stereochemical assignment of 1,3-dipolar cycloaddition adducts to caryophyllene was carried out. The study of antiviral and cytotoxic activity for some heterocyclic derivatives synthesized in this work revealed relatively high biological activity of previously little-studied cycloaddition adducts at the exocyclic C=CH