Agarwood actually originated from a tree species called Aquilaria/Karas.The treasured resin is formed as a result of a certain type of mold which infected the Aquilaria tree.
However, naturally only 7% of the Aquilaria trees that grow in the wild would be infected by the mold and turned into Agarwood. Today, this infection can be manipulated and synthesized via a biotechnology procedure called inoculation.
In the wild, it takes more than 20 years for Agarwood to be infected naturally. Wild Agarwood trees is an endangered species and protected worldwide by the Convention of International Trade in Endangered Species (CITES).