Endophytes are microorganisms that reside within plant tissues without causing apparent harm to their hosts . These diverse microbial communities have been shown to produce a wide range of metabolites that can influence plant growth, development, and stress tolerance . Metabolomics has been increasingly used to study the metabolic diversity of endophytic communities and their interactions with host plants . For example, employed LC-MS to explore the metabolic profiles of endophytic fungi isolated from the medicinal plant Cyperus articulatus. The authors discovered a range of bioactive compounds, such as new polyketides and alkaloids, that showed potent antibacterial activity against human pathogens, highlighting the potential of endophytic fungi as sources of novel pharmaceutical leads. Similarly, a study by used GC-MS and LC-MS to compare the metabolic profiles of endophytic fungi isolated from the Chinese medicinal plant Huperzia serrata . The authors identified several bioactive compounds, such as huperzine A and huperserine, that were produced by the endophytes and could potentially be used for pharmaceutical applications.