Carbon dots have received much attention due to their unique physicochemical properties and diverse applications in bioimaging, optoelectronic devices, catalysis, and agriculture. Here in this work, we report a simple hydrothermal synthesis of nitrogen and phosphorus-doped carbon dots (N, P-CDs). The optical and physical properties of the synthesized N, P-CDs were analyzed using systematical spectroscopy and electrical characterization. The synthesized N, P-CDs show strong photoluminescence at 626 nm and demonstrate high stability under UV light and other conditions. Moreover, we incorporate the synthesized N, P-CDs into water spinach by root spraying and leaf spraying. It was found that N, P-CDs could effectively promote the growth of water spinach by increasing the photosynthetic rate, and the content of total phenols and anthocyanins in water spinach