Terpenes are how the various highs are achieved with Cannabis.
The woody smells come from the Humulene terpene (the light brown section of the graph).