Gum or resin used in perfume