Water pollution, arising from the presence of toxic dyes and chemicals, is a global challenge, urging the need for eco-friendly solutions in water decontamination. This study focused on the synthesis of copper oxide nanoparticles (CuO NPs), zinc oxide nanoparticles (ZnO NPs), and a bimetallic CuO-ZnO nanocomposite (CZ NC) through an environmentally friendly method employing Tragia involucrata L. leaf extract. Comprehensive analysis of structural and optical properties involved using various analytical techniques such as XRD, FT-IR, XPS, UV-DRS, PL, FE-SEM, EDAX, TEM, SAED, zeta potential, TGA, and BET. In comparison to pristine CuO and ZnO NPs, the CZ-NC demonstrated notably enhanced photocatalytic activity in the degradation of Rhodamine B dye (RhB). The optimum conditions for RhB degradation were found to be a pH of 9 and a catalyst dosage of 1 mg/mL for a concentration of 10 ppm. Under these conditions, CuO NPs, ZnO NPs, and CZ-NC demonstrated high efficiencies of 78%, 83%, and 96.1% respectively over 105 min. Through LC-HRMS, the identification of degradation products offered valuable insights into the pathway of photocatalytic degradation. Furthermore, toxicity analysis of intermediates, conducted through ECOSAR software, indicated the formation of non-toxic by-products (ChV/LC50/EC50 > 100) after the completion of the reaction. Furthermore, the recycled catalysts exhibited sustained stability for up to 4 cycles, with only a minor decrease in activity of up to 6.8%. This confirms their catalytic efficacy in purifying polluted water. This research significantly contributes to the progress of environmentally friendly nanocomposites, enhancing their efficacy in the realm of environmental remediation.