Agarwood oil is extracted from the tree’s resin. The plant’s resin is known as Gaharu. It forms naturally as a result of the tree’s reaction to fungus attack. To protect the injured area, attacked trees spread a fragrant gum, which hardens into a resin.