Nowadays, the growing global population and increased industrialization have exacerbated water pollution, posing a significant environmental threat. To tackle this issue, there is an urgent need for effective catalysts to remove pollutants. This study developed a novel N-doped g-C3N4/Nd-doped ZnO (NZ) heterostructure using a green approach by incorporating pomegranate peel waste as a stabilizing and capping agent. Characterization techniques confirmed successful NZ nanohybrid preparation. The synthesized NZ displayed high photocatalytic activity in degrading methylene blue (MB) and tetracycline (TC) pollutants found in wastewater, achieving degradation efficiencies of 95.3 % and 98.3 %, respectively. Meanwhile, it demonstrated satisfactory photostability after five-cycle experiments. The radical trapping experiments revealed that superoxide (O2−) and hydroxyl (OH) are the dominant active species and play an essential role in photocatalytic pollutant deterioration. Additionally, it exhibited suitable antimicrobial activity against Staphylococcus aureus and Vibrio cholerae bacterial strains. The enhanced performance is attributed to the abundant reaction sites of porous N-doped g-C3N4, the photo-redox capability of Nd-doped ZnO, and the efficient charge separation process in the Z-type heterojunction. This work advances sustainable and eco-friendly chemistry for the biosynthesis of organic/inorganic heterojunctions used in pollutant degradation and bacterial disinfection of wastewater.