In the present study, the vegetation was classified using the phytosociological method and canonical-correlation analysis (CCA) was implemented to analyze correlation between community structure and environmental factors in the natural habitats of forest byproducts, especially medicinal plants, such as Cudrania tricuspidata, Sorbus commixta, and Hovenia dulcis, in 2021-2022 to provide primary ecological data to establish environmental conditions for wild vegetable cultivation. A total of 11 plots in five regions, 8 plots in three regions, and 17 plots in 5 regions were selected for the natural habitats of C. tricuspidata in southern Korea, S. commixta in high mountains, and H. dulcis in valleys of central Korea, respectively. The importance value in each community was respectively analyzed as follows, in C. tricuspidata community, the importance value of C. tricuspidata (61.10) was the highest, followed by Celtis sinensis, Pinus thunbergii, Neolitsea aciculata, Styrax japonica, Carpinus coreana, Quercus serrata, and Q. acutissima. In Sorbus commixta community, Q. mongolica (57.21) was the highest, followed by, S. commixta (42.58), Betula ermani, Tilia amurensis, A. pseudosieboldianum, A. tschonoskii var. rubripes, Cornus controversa, Magnolia sieboldii, and Taxus cuspidata. In H. dulcis community, H. dulcis (64.58) was the highest, followed by Zelkova serrata, Cornus controversa, A. mono, Q. serrata, C. cordata, and Juglans mandshurica. As the result of the analysis on DBH of the major species having the high importance value, in C. tricuspidata community, C. tricuspidata, C. sinensis, Neolitsea aciculata, and C. coreana show the density of normal distribution, so the dominant status of these species is likely to continue. In S. commixta community, S. commixta show the density of reverse J-shaped curve, so the dominant status of these species is likely to be stable, and Q. mongolica, B. ermani and T. amurensis, show the density of normal distribution, so the dominant status of these species is likely to continue. In H. dulcis community, C. cordata, and J. mandshurica show the density of reverse J-shaped curve, so the dominant status of these species is likely to be stable, and H. dulcis, Z. serrata, C. controversa and A. mono had a formality distribution, suggesting a continuous domination of these species over the other species for the time being. The results of CCA ordination analysis using 11 environmental factors and 30 communities of three taxa classified by TWINSPAN analysis revealed that the altitude showed the strongest correlation with the vegetation. C. tricuspidata community was distributed on the moderate and gentle northeastern slope at low altitude with the highest pH, C.E.C, Ca2+, and Mg2 and various P2O5, whereas S. commixta community was distributed on the steep slope at high altitude with the highest O.M and T-N and lower P2O5, Ca2+, Mg2+, C.E.C and pH, which is the opposite tendency of the environment of C. tricuspidata community. H. dulcis community was distributed on the gentle northern slope at lower altitude with an average pH, O.M, T-N, Ca2+, Mg2+, and C.E.C, except higher P2O5.