“…Polymeric carbon nitride (CN, also named melon) has received considerable attention due to its advantages of low production cost, non-toxicity, a suitable band gap (∼2.7 eV), and excellent thermal and chemical stability. − Since Wang et al first reported the photocatalytic water splitting by CN in 2009, dramatic achievements have been realized in various photocatalytic applications of CN, such as biorefinery, , organic contaminant degradation, hydrogen peroxide generation, and CO 2 reduction. , However, CN, prepared by conventional thermal polycondensation methods, suffers from low crystallinity, insufficient utilization of visible light, and rapid recombination of charge carriers, resulting in poor photocatalytic efficiency. , To overcome these deficiencies, various modification strategies have been developed, − including induction of active sites through heteroatom doping, construction of heterojunctions with other semiconductors or conductors, and nanostructure design. Among them, heteroatom (e.g., B, C, N, O, S, and P) doping was identified as an effective strategy for tuning the electronic properties of CN and improving its photocatalytic performance. ,,,, According to first-principles calculations, , nonmetal dopants should follow two principles: (i) the electronegativities of the nonmetal atoms must be lower than those of the substituted lattice atoms and (ii) the radius of the nonmetal atoms should be comparable to that of the substituted lattice atoms.…”