This study aims to analyze the chemical composition of agarwood (Aquilaria malaccensis) oil extracted from the stems and roots of trees at UMK TRaCe, Pulau Banding, Perak. Agarwood, known for its valuable aromatic resin, contains a complex array of chemical compounds that contribute to its distinctive scent and potential therapeutic properties. Utilizing advanced analytical techniques such as gas chromatography-mass spectrometry (GC-MS), this research identifies and quantifies the key compounds present in agarwood oil. The study reveals significant differences in the chemical between the stem and root extracts. Key compounds identified include sesquiterpenes, phenolic compounds, chromones, and various volatile organic compounds. The findings suggest that the unique chemical makeup of agarwood oil from different parts of the tree can influence its aroma and potential uses in perfumery, traditional medicine, and other commercial applications. The analysis data used is T-test and Qualitative Analysis. Furthermore, understanding the chemical composition of agarwood can enhance sustainable harvesting practices and conservation efforts, ensuring the survival of Aquilaria malaccensis. This research contributes valuable insights into the complex chemistry of agarwood, with implications for its use in various industries and its conservation.