Carbon dots (CDs) are zero-dimensional nanomaterials composed of carbon and surface groups attached to their surface. CDs have a size smaller than 10 nm and have potential applications in different fields such as metal ion detection, photodegradation of pollutants, and bio-imaging, in this research, the capabilities of CDs in metal ion detection will be described. Quantum confinement is generally viewed as the key factor contributing to the uniqueness of CDs characteristics due to their small size and the lack of attention on the surface functional groups and their roles is given, however, in this research, the focus will be on the functional group and the composition of CDs. The surface functional groups depend on two parameters: (i) the oxidation of precursors and (ii) their composition.
Due to their small size, CDs properties are mostly conceptualized in terms of quantum confinement. However, in reality, almost all of these characteristics depend on the CDs’ original precursor and final chemical composition 
. The origin of CDsphotoluminescent behavior is due to their small size, but their chemical characteristics can also influence them. The surface of CDs is covered by a variety of functional groups that are joined to the carbon core structure. Thus, it can be said that CDs’ properties depend on their size and functional groups present on the surface 
The functional groups, which contain sp2
hybridized carbons atoms, are located on the surface of CDs. The CDs can also show dichroism (different colors from different angles) due to the complex nature of the functional group. Functional groups originate from oxidation during synthesis and afterward. When the specific absorption wavelength matches with one of the functional group’s absorption, it can absorb it, which also leads to multicolor CDs, and so different functional groups can emit light with different wavelengths 
. If the amount of oxygen is increased, the number of functional groups also increases, which traps excitons and causes redshift. Hui Ding et al.
reported the emission wavelength from 400 to 625 nm after increasing the oxidation of CDs due to more traps by the functional group. Yuan et al. 
reported that the color from green to the red of emission changes when the functional group is changed by a solvent. The green emissive CDs have pyridinic N and pyrrolic N groups when measured by FTIR which are not present in red color CDs. Fluorescent molecules which are attached to the core or surface of the CDs can also exhibit fluorescence directly 
CDs that can emit light in the whole visible spectrum can open doors for practical applications. There are no such CDs reported until now that can emit full visible spectra. Meng Li Liu et al. 
reported the synthesis of CDs by means of the Schiff base reaction by utilizing P-benzoquinone and triethylenetetramine (TETA) as a precursor. These CDs can be separated into yellow- and green-color CDs using a silica gel column.
The emergent absorption band of CDs can range from UV to visible range and rarely up to the NIR region 
. This shift can also be observed during surface functionalization 
and doping 
. The absorption involves π–π* aromatic (C=C bonds) transition, which corresponds to a peak from 300 to 400 nm and a peak above 400 nm to n-π* (C=O bond) transition. Arul et al. proposed 
that the n–π* and π–π* transition is linked with the carbonyl and hydroxyl functional group because the absorption peak changes after adding liquid ammonia to the CDs.
2. Origin of Optical Properties
Transmission electron microscopy (TEM) reveals the crystallized core structure and amorphous functional group on the surface of CDs. The π-electron system’s energy gap transitions possessed intrinsic photoluminescence properties 
. The energy gap transitions of a π-electron system exhibit intrinsic PL emission, while the sp2
bonding in CDs also depends on its core size 
. CDs functional groups can also capture some of the light excitons and contribute to photoluminescence phenomena. It is reported that the oxidation of CDs can enable them to emit different color light in the spectrum from blue to orange 
. CDs multicolor emissions are associated with their surface defects. A CD’s surface has a lot of functional groups, surface defects (broken bonds), and sp2
hybridized carbon 
Oxygen-abundant functional groups such as hydroxyl, carboxyl, carbonyl, sulfoxide, etc., depend on the oxidation of CDs. These functional groups are attached to CDs core atoms and are the origin of high solubility in polar solvents like water, while also a source of surface defects 
. Rigu Su et al. 
reported the synthesis of multi-color zinc-doped CDs. They confirmed, using the TEM method, that color change does not depend on CDs size because different emissive colors have a similar size. FTIR and XPS results reveal that zinc doping can decrease the graphic carbon percentage by increasing oxidation, which decreases the other functional group amount. The red emissive CDs have a low number of oxygen-related functional groups, while blue emissive CDs have more oxygen-related functional groups. They use a different ratio of p-phenylenediamine and ZnCl2
precursor to obtain multicolor CDs.
Hydroxyl functional groups (–OH) are mostly present on the surface of CDs due to the organic nature of precursors, and oxidation also contributes to the amount of -OH groups, which was confirmed by FTIR spectroscopy methods. FTIR spectra also confirmed the presence of stretching vibrations and in-plane bending vibrations of -OH 
. These functional groups have a strong influence on the properties of CDs, while carboxyl groups (–COOH) are also produced when oxidation occurs on a CD’s surface. The FTIR spectrum of amino groups (–NH2
) produced during the surface functionalization of CDs has been observed, and the these CDs are termed as nitrogen-doped CDs
Nitrogen-based functional groups such as amino, pyridine, nitro, amide, etc., are the second most common functional groups present on the surface and core of CDs. Thanks to the similar atomic radius and electronic structure of carbon and nitrogen, this type of doping is effective 
Shanshan Wang et al.
reported the synthesis of CDs via laser ablation and hydrothermal carbonization methods (HTC). Xylose was used as a precursor and was placed at 200 °C for six hours in an HTC reactor. The CDs obtained from this method are also named HTC to avoid confusion. The HTC CDs were further annealed for two hours at 850 °C with an argon flow rate of 50 cm3
For the laser ablation method, the annealed carbon powder and 20 wt% Teflon powder were used as precursors. The repetition rate was 50 Hz, the pulse width was 1–2 ns, and the produced CDs were named LA-CDs. The hydrothermal carbonization process frequently produces green-emission CDs, while laser ablation produces blue-emission CDs under excitation at 360 nm; although both have similar sizes (4.72 ± 0.7 nm), they show different PL properties. The XPS result shows that oxygen comprising the functional group demonstrates π–π* transition, while nitrogen comprising the functional group demonstrates n–π* and π–π* transitions which cause changes in the PL properties of both. They observed that LA-CDs have an N-H bond in their FTIR spectra, while the other two do not have the presence of nitrogen in their FTIR spectra. The LA-CDs had a bright blue emission, whereas the HTC-CDs had a green emission, while annealed CDs did not show any emission when excited by UV. The annealing process probably affects the removal of functional groups. This confirms how vital functional groups are in the phenomenon of CD photoluminescence.
Sulfur-doped CDs are also frequently studied due to similar electron mobility. The sulfur atom has six valence electrons which can alter the optical properties of CDs. The sulfur can attach to the core and the surface of CDs 
, as the functionalization of CDs with thiol can produce an S–H functional group at the peak of 2532 cm−1 
. The phosphorus-doped CDs are also studied because phosphorus can produce substitutional defects in CDs surfaces, act as an n-type donor, and alter the optical and electronic properties of CDs 
. Figure 1
shows the CDs functional group structure comparison of hard acid and soft acid detection using CDs.
Figure 1. Detection of metal ions having a hard or soft character using CDs with diverse surface functional groups.
3. Mercury Detection
Mercury is one of the heavy metals that can cause significant health problems. It possesses biological toxicity, is non-biodegradable, and has high mobility, which means it stays in the environment for a long time. The Hg–C bond-based organometallic compounds can be present in the air and water for a longer time and cause an imbalance in the biological system, and when ingested by a human, they can potentially damage the nervous system. Because mercury is present in significant quantities near areas where mercury-based minerals are extracted, it is vital to limit the amount of mercury in nature, and thus detecting it in nature is the first step. There are some well-known methods to detect mercury in the samples. Surface-enhanced Raman scattering (SERS), mass spectroscopy, and electrochemical methods are among them. All of these methods require large and complex equipment with an expert operator, limiting their utilization. As already discussed, CDs have good luminescence properties and can form a luminescence turn-on sensor for mercury. The CDs obtained from eggshell membranes are useful, acting as label-free methods to determine mercury, with a detection limit of 2.6 µM 
. The CDs obtained from L-cysteine were also used as a detecting probe for mercury, and were used with several different metals ions such as Cu2+
, and Co2+
, but these metal ions do not influence the emission spectra of CDs, even when the concentration is increased up to 10 times, while with mercury, the emission spectra are decreased sharply down to 60% of the total emission spectra 
Citric acid monohydrated and ammonia-based nitrogen-doped high luminescent CDs (quantum yield 40.5%) prepared by the one-step hydrothermal method employed as a sensor for Hg2+
with a limit of detection up to 0.087 µM, which is 30 times higher than eggshell-membrane-based CDs, and it is suitable in a natural water sample with recovery in the range of 96.6–105.5% 
Pineapple-peel-based CDs were prepared by simple hydrothermal treatment and acted as a label-free probe for Hg2+
ions. The CDs were utilized to detect Hg2+
in lake and tap water samples and found them useful. The logic gate sensor based on NOT operation utilized Hg2+
as a input. This shows that CDs can also be used commercially as sensors 
. A large group of CDs also do not detect mercury ions. For example, hydrothermally produced CDs using Phyllanthus acidus do not detect Hg2+
, but can detect Fe3+
up to the detection limit of 0.9 µM 
4. Lead Detection
Lead is a toxic transition metal, a non-biodegradable compound, and can react with blood 
. It can be found in drinking water due to its presence in small amounts in water pipes, and the corrosion of pipes can cause lead to migrate with water. When consumed by humans, even in significantly low amounts of more than 5 mmol/L, it can cause memory loss, mental diseases, and other medical issues 
. It has three oxidation states, but Pb(II) is mainly found in nature, which can cause mental disabilities, migraine 
, memory loss, and “dullness” 
in humans, especially children. Different traditional and new techniques are used to detect Pb(II), such as inductively coupled plasma (ICP) mass spectrometry, electrochemical sensors 
, atomic absorption spectroscopy (AAS), DNAzyme 
, and some inorganic nanomaterials. However, all of these methods are expensive, and the demand for new low-cost and sensitive methods is high.
5. Silver Detection
Silver is an essential element that has many applications, such as antimicrobial agents in water 
, electrical devices 
, medicine, and electrical devices, and waste related to these applications in the environment is harmful to humans. The recycling of silver is expensive, so it is important to minimize the amount of silver converted into waste 
ions can change and destroy the healthy nature of pure drinking water, so it is essential to control the number of Ag+
ions in nature. Ag+
ions can be detected using spectroscopic methods such as X-ray fluorescence spectroscopy 
, fluorescence spectrometry, and inductively coupled plasma–atomic emission spectrometry, but these methods require a complex operation. CDs can be used to overcome this situation, which act as probes for Ag+
6. Chromium Detection
Chromium is a highly toxic element found in industrial wastewater. It has two major oxidation states—the non-toxic (at low concentrations) trivalent chromium Cr(III), and hexavalent chromium Cr(VI), which is, even in low amounts, very toxic. Cr(VI) causes cancer and hormonal problems if consumed in sufficient amounts by humans, and its recommended quantity in drinking water is lower than 100 ppb, according to the U.S. Environmental Protection Agency. It can be measured through conventional methods, but fluorescence probes are proven helpful in detecting chromium(VI).
Additionally, CDs exhibit high selectivity and are accessible in use. Researchers are working on the detection of both oxidation states of chromium. MMF Chang et al. reported the synthesis protocol of CDs using a sucrose precursor at a low temperature of 85 °C. These CDs have a yellow color emission. These CDs show pH-dependent fluorescence quenching when treated with Cr(III), which depends on concentration. The limit of detection was found to be 24.58 ± 0.02 μM 
7. Iron(III) and Iron(II) Detection
Iron(III) is one the most commonly used metal ions, and is essential for humans up to a certain level; above that level, it can cause diseases such as type 2 diabetes, inflammation 
and Alzheimer’s disease, etc. 
, while a deficiency of iron in the human body can cause anemia (IDA). Iron(III) in the environment also influences plant growth, so it is essential to monitor the quantity of Fe3+
in the environment, and more specifically patients with diseases caused by Iron(III) 
can also cause problems with the production of zinc. During the electrochemical process of zinc production, the efficiency of the process is significantly decreased by iron dissolved in the electrolyte. Ferrite and zinc oxide are involved in the hydrometallurgical production of zinc, and a high temperature is required to remove the ferrite, so it is also essential to control the amount of Fe3+
and Fe2+ 
The detection method for Fe3+
is similar to that for other heavy metals, including voltammetry and coupled plasma mass spectrometry (ICP-MS), so now the focus is on detecting iron with the help of a fluorescent probe. Examples of fluorescence probes are conjugated polymer, quantum dot, and CDs, which is also a potential contender for Fe3+
ions also exist in nature and are essential for humans and must be monitored, but they oxidize to Fe3+
in an open environment, making it difficult to detect them accurately. So, there is very little research on Fe2+
8. Copper(II) Detection
) is essential for the healthy growth of biological activity because it strengthens 
the bones and immune system, but an excessive amount of Cu2+
can cause vomiting, pain, and disturbance of biological activity 
. So, it is necessary to develop an easy and inexpensive sensing method to detect Cu2+
. Researchers are using CDs to detect Cu2+ 
. Van Dien Dang et al. 
synthesized the nitrogen-doped CDs by using citric acid as an oxygen source and ethylenediamine as a nitrogen source. The CDs had a quantum yield of about 84%, and their fluorescence activity decreased after adding different concentrations of Cu2+
ions. The limit of detection was observed as 0.076 nM. Xiaochun Zheng et al. 
described the mechanism of detection of Cu2+
based on the functional group by using citric acid and polyethylenimine as precursors for synthesis. The CDs were synthesized by means of the hydrothermal method. The quantum yield was 25% when excited at the wavelength 365 nm. They linked the detection of Cu2+
to the presence of amino groups on the surface of CDs, which caused the splitting of Cu2+
d-orbital that produced the new path for CDs excited states. The -NHx
group peak CDs in FTIR also disappeared after reaction with Cu2+
CDs can detect metal ions by transferring the electron from the excited state in CDs to metals and then reverting back to the ground state of CDs. As the redox potential plays an important part in the study carried out by Xiaochun Zheng et al., the redox potential play an important factor in metal ion sensing 
. Redox potential of CDs should also be investigated to further analyze the role of CDs because metal redox potential should be more negative than the holes on CDs and positive than the electrons on CDs. Therefore, measuring the redox potential of different metals ions and comparing it with CDs produced using various precursors can provide further insights.