The photoluminescence in carbon dots (surface-passivated small carbon nanoparticles) could be quenched efficiently by electron acceptor or donor molecules in solution, namely that photoexcited carbon dots are both excellent electron donors and excellent electron acceptors, thus offering new opportunities for their potential uses in light energy conversion and related applications.