Mechanistic studies on the antibacterial behavior of Ag nanoparticles decorated with carbon dots having different oxidation degrees