• Differential compounds were identified from three different habitats. • Amino acids and flavonols had the largest number of differences. • R-configuration EPSF were more easily formed in ZHWT samples, FDWT and JGWT were S-configuration. • The content of aroma precursors in ZHWT was much highest.