Metagenomic methods allow for obtaining more information about the composition and genetic mechanisms of soil microbiota and their adaptation to specific environments. Through metagenomic analysis, we can determine which microorganisms predominate in soil or parts of the plant microbiome (for example, the rhizosphere, endosphere, or phyllosphere), what functions they can perform, and ways in which these interactions could be modulated.