Transition metal sulfide semiconductors have achieved significant attention in the field of photocatalysis and degradation of pollutants. MoS2 with a two dimensional (2D) layered structure, a narrow bandgap and the ability of getting excited while being exposed to visible light, has demonstrated great potential in visible-light-driven photocatalysts. However, it possesses fast-paced recombination of charges. In this study, the coupled MoS2 nanosheets were synthesized with ZnO nanorods to develop the heterojunctions photocatalyst in order to obtain superior photoactivity. The charge transfer in this composite is not adequate to achieve desirable activity. Therefore, heterojunction was modified by reduced graphene oxide (RGO) nanosheets and carbon nanotubes (CNTs) to develop the RGO/ZnO/MoS2 and CNTs/ZnO/MoS2 ternary nanocomposites. The structure, morphology, composition, optical and photocatalytic properties of the as-fabricated samples were characterized through X-ray diffraction (XRD), Fourier Transform Infrared (FTIR), Field Emission Scanning Electron Microscopy (FESEM), Transmission Electron Microscopy (TEM), Energy-Dispersive X-ray (EDX), elemental mapping, Photoluminescence (PL), Ultraviolet–Visible spectroscopy (UV-VIS), and Brunauer-Emmett-Teller (BET) techniques. The photo-catalytic performance of all samples was evaluated through photodegradation of aniline in aqueous solution. The combination of RGO or CNTs into the ZnO/MoS2 greatly promoted the catalytic activity. However, the resulting RGO/ZnO/MoS2 ternary nanocomposites showed appreciably increased catalytic performance, faster than that of CNTs/ZnO/MoS2. Charge carrier transfer studies, the BET surface area analysis, and the optical studies confirmed this superiority. The role of operational variables namely, solution pH, catalyst dosage amount, and initial concentration of aniline was then investigated for obtaining maximum degradation. Complete degradation was observed, in the case of pH = 4, catalyst dosage of 0.7 g/L and aniline concentration of 80 ppm, and light intensity of 100 W. According to the results of trapping experiments, hydroxyl radical was found to be the main active species in the photocatalytic reaction. Meanwhile, a plausible mechanism was proposed for describing the degradation of aniline upon ternary composite. Moreover, the catalyst showed excellent reusability and stability after five consecutive cycles due to the synergistic effect between its components. Total-Organic-Carbon concentration (TOC) results suggested that complete mineralization of aniline occurred after 210 min of irradiation. Finally, a real petrochemical wastewater sample was evaluated for testing the catalytic ability of the as-fabricated composites in real case studies and it was observed that the process successfully quenched 100% and 93% of Chemical Oxygen Demand (COD) and TOC in the wastewater, respectively.