The aim of the current research was to identify the biologically active elements present in the stems and leaves of two taxa of Salvadora persica plant. Different bioactive chemicals were discovered by GC-MS analysis for methanolic extracts of these plants. The main bioactive compounds including9,12,15- Octadecatrien-1-ol, (Z,Z,Z)-, (n-Hexadecanoic acid), Phytol, Taraxasterol, Benzenamine, 3- methyl and Benzylamine acted as antimicrobial agents against eight bacterial isolates (Streptococcus pyogenes, Streptococcus mutans, Staphylococcus aureus, Streptococcus epidermidis, Escherichia coli, Pseudomonas aeruginosa, Klebsiella pneumonia, and Enterococcus sp.) and two fungal isolates (Candida albicans and Aspergillus niger).