This experiment uses the principle of electrochemical catalytic oxidation and uses the BDD electrode as the main reaction device to finally convert the organic matter in the water sample into CO2 and H2O, nitrate nitrogen and ammonia nitrogen into nitrogen.