Biomass-derived CDs can coordinate and detect specific analytes because of their rich surface structures. In the presence of a target analyte, the initial CDs system is destroyed
via adsorption or chemical reactions. This changes the fluorescence emission of CDs, promoting the detection of the target analyte. To date, biomass-derived CDs have been used as sensors for various materials, such as metal ions [
89-
93] and molecules [
94-
98], based on fluorescence enhancement or quenching (
Fig. 4a). To detect metal ions, due to the coordination of CDs to metals, the coordination between CDs and metal ions triggers the transfer of non-radiative electrons from excited CDs to the unfilled d orbitals of metal ions, resulting in fluorescence quenching. The detection mechanism has been confirmed using several metal ions (
i.e., Fe
3+, Cu
2+, Hg
2+, and Pb
2+) [
99-
103].
Poa pratensis-derived CDs exhibited good hydrophilic fluorescence and strong cyan–blue emission and were used for highly selective detection of Mn
2+ ions in aqueous media. The fluorescence of the CDs was quenched in the presence of Mn
2+ ions, and the detection limit was 1.2 µmol/L [
104]. The CD-based sensor constructed using banana stems detected Cr
5+ in the linear detection range of 10–30 µmol/L with a detection limit of 2.4 µmol/L. Density functional theory calculations and lifetime decay analysis demonstrated that the fluorescence quenching mechanism of CDs was photoinduced electron transfer (
Fig. 4b) [
105]. Added metal ions typically quench the fluorescence of CDs. Upon adding other analytes to replace the metal ions on the surface of CDs, fluorescence can be restored or enhanced. The utilization rate of CDs was considerably improved by the ability of CDs to detect various substances [
106]. The fluorescence of grape-seed-derived CDs was quenched in the presence of Cu
2+ ions, and it gradually recovered upon the addition of ascorbic acid to the system. Under optimal conditions, the linear detection ranges for Cu
2+ ions and ascorbic acid were 150–500 µmol/L and 0.1–400 µmol/L, respectively and the limits of detection were 0.048 and 0.036 mmol/L, respectively [
107]. The detection of organic molecules by biomass-derived CDs is based on the adsorption of organic molecules on the surface shell, using hydrogen bonding or
π–
π stacking. When the emission spectrum of CDs overlaps with the absorption spectrum of organic molecules, fluorescence resonance energy transfer occurs between the CDs in the excited state and the organic molecules in the ground state, which quenches the fluorescence of CDs. In addition, fluorescence quenching occurs when interactions between CDs and organic molecules form non-fluorescent ground-state complexes, or when there is charge transfer [
108,
109]. Kang
et al. used tobacco leaves as the carbon source to fabricate CDs that were then used to detect organic molecules [
110]. They reported that the as-synthesized CDs were selectively quenched by tetracycline. This was attributed to tetracycline reacting with the hydroxyl and carboxyl groups on the surface of the CDs leading to static quenching. CDs derived from waste tobacco stems were used to detect other tetracycline antibiotics in real water samples using the internal filtering effect. Biomass-derived-CD-based array detectors with good detection efficiency were developed. Molecularly imprinted polymers were formed on the surface of catalpa-walnut-shell-derived CDs using a sol–gel method, and the as-fabricated CDs precisely captured 5-nitroimidazole antibiotics. Using the changes in fluorescence to construct fingerprints, CDs were used to distinguish secnidazole, ornidazole, metronidazole, and tinidazole [
111]. This fluorescent sensor array sensitively identified 5-nitroimidazole antibiotics over a wide concentration range. Niu
et al. demonstrated that CDs fabricated using various raw materials (
e.g., sheep, bovine, and pork bones) interacted with heavy metal ions to varying degrees and could be used as probes to distinguish Pb
2+, Ag
+, Fe
3+, Hg
2+, and Cu
2+ ions (
Fig. 4c) [
112]. According to the fingerprints, Ag
+ ions exhibited the strongest quenching effect on the sheep-bone-derived CDs, whereas Fe
3+ ions presented the strongest quenching effect on all three types of CDs. Using hierarchical cluster and linear discriminant analyses, it was determined that array detection was effective for single ions and binary and ternary mixtures. Moreover, the accuracy of the array for binary and ternary mixtures was 100%. In addition to array detection, smartphone-based portable detection platforms can be developed for efficient real-time detection of analytes. A fluorescent sensing system and detection platform based on cinnamon-leaf-derived CDs exhibited excellent performance for analysis of tap water and wine samples. Light and color signals were collected using a smartphone, and the standard response curves of Al
3+ ions in solutions at various concentrations were obtained through color recognition using specialized applications and equipment (
Fig. 4d) [
53].