This study examines the potential of UiO-66 and g-C3N4-based composite catalysts for environmental purification and pesticide degradation. By integrating the zirconium-based metal-organic framework UiO-66 with graphitic carbon nitride (g-C3N4), a composite with a Z-type heterojunction structure is created, enhancing photocatalytic pesticide degradation and phosphorus recovery. The optimal composite, UiO-66/g-C3N4(UG6:4), shows high efficiency in degrading organophosphorus pesticides like DDVP under visible light. This catalyst's high surface area and porous nature efficiently adsorb and break down persistent soil pollutants, including DDT and DDVP. Featuring robust stability and effective photocatalytic activity, the UiO-66/g-C3N4 composite holds promise for soil remediation and dealing with organic pollutants. Future research will aim to further refine this material’s structure and properties, ensuring its practical application in environmental cleanup.