Facile synthesis, high fluorescence and flame retardancy of carbon dots