For photocatalytic materials, the composites formed by metal oxides and heteroatom-doped carbon have outstanding activity. Among them, metal-organic framework (MOF) derived composites, usually composed of metal oxide and nitrogen-doped carbon, is not only simple to prepare, but also have far-exceeding catalytic performance than homogenous semiconductor. However, the relationship between the structure and performance in the photocatalytic system is still not clear. Here, we explored the tunable nitrogen configurations in sample N-ZnO@NC by controlling the thermal conversion of ZIF-8. Crucially,...