<b>Background and Objective:</b> This study investigated a bacterial strain, ZO16, isolated from ginger (<i>Zingiber officinale</i>) roots. Analysis of its 16S ribosomal DNA (rDNA), along with chemical and physical properties, revealed it to be <i>Streptomyces prasinus</i>. This study aimed to isolate and characterize the main bioactive compounds from ZO16, evaluating their antibacterial and anticancer properties. <b>Materials and Methods:</b> Techniques like column chromatography and thin-layer chromatography (TLC) were used to purify the key compounds from ZO16's culture extract. Nuclear Magnetic Resonance (NMR) spectroscopy and mass spectrometry were utilized to confirm the identities of the purified compounds as endophenazine A (compound 1) and endophenazine B (compound 2). The antibacterial and anticancer properties of these compounds were then evaluated. <b>Results:</b> The isolated compounds displayed antibacterial activity against <i>Staphylococcus aureus</i> ATCC 25923 and Methicillin-Resistant <i>Staphylococcus aureus</i> (MRSA). The minimum inhibitory concentration (MIC) of the isolated compounds against bacteria ranged from 8 to 32 μg/mL, while the minimum bactericidal concentration (MBC) was between 32 and 128 μg/mL. These compounds exhibited effectiveness against tested cancer cells with IC<sub>50</sub> values ranging from 30.40 to 32.51 μg/mL for cervical cancer (HeLa), 78.32 to 86.45 μg/mL for liver cancer (HepG2) and 23.41 to 28.26 μg/mL for breast cancer (MDA-MB-231) cells. However, these compounds also showed moderate toxicity towards non-cancerous Vero cells (IC<sub>50</sub> = 317.44-328.63 μg/mL). <b>Conclusion:</b> The findings of this study suggest that <i>Streptomyces prasinus</i> strain ZO16 produces compounds with antibacterial and anticancer properties. Further investigation of these compounds has the potential to contribute to the development of improved methods for controlling and treating bacterial infections and some cancers.