A Comprehensive Review on Upconversion Nanomaterials-Based Fluorescent Sensor for Environment, Biology, Food and Medicine Applications

Near-infrared-excited upconversion nanoparticles (UCNPs) have multicolor emissions, a low auto-fluorescence background, a high chemical stability, and a long fluorescence lifetime. The fluorescent probes based on UCNPs have achieved great success in the analysis of different samples. Here, we presented the research results of UCNPs probes utilized in analytical applications including environment, biology, food and medicine in the last five years; we also introduced the design and construction of upconversion optical sensing platforms. Future trends and challenges of the UCNPs used in the analytical field have also been discussed with particular emphasis.


Introduction
In 1959, Bloemberge et al. excited ZnS with 960 nm infrared and obtained its emission peak at 525 nm. Later, in 1961, Auzel observed two-photon excitation of fluorescence in Eu 3+ doped crystals under high-power laser irradiation. Since then, the conjecture that energy may transfer between two rare-earth ions has been deeply rooted in the work of researchers. It was not until 1966, when phosphors doped with rare-earth ions were successfully synthesized, that the idea of upconversion luminescence was formally proposed. After more than 60 years of research. Lanthanide-doped upconversion nanoparticles (UCNPs) have shown high luminescence efficiency due to the long lifetime of the excited state, and they have been studied by researchers from all walks of life, gaining popularity in biomarkers, contrast agents, and other technologies. Upconversion luminescence, also known as anti-Stokes luminescence, is a particular luminescence phenomenon. The wavelength of the emitted light is less than that of the exciting light [1]. Specifically, the UCNPs luminescence mechanism is based on the following process: the luminescent center absorbs two or more low-energy photons, undergoes radiation-free decay to reach the excited state energy level, and thus returns to the ground state and releases a high-energy photon. In order to efficiently realize two-photon or multi-photon processes, the excited states of the luminescent centers need to have long energy level lifetimes. Moreover, the jumps between energy levels of rare-earth ions belong to forbidden f-f jumps with long energy level lifetimes. Therefore, the upconversion luminescence mechanism study also needs to focus on the energy level leap of rare-earth ions [2,3].
As we know, the UCNPs consist of a matrix, sensitizer, and activator. Some singledoped UCNPs do not contain the sensitizer. Among them, the matrix is the central part of the UCNPs. Many studies have proved that Y 3+ , La 3+ , and Lu 3+ ions are more suitable for matrix materials. The ions that are incorporated into the matrix as luminescence centers are called activators. Rare-earth ions with abundant energy levels such as Pr 3+ , Nd 3+ , Sm 3+ , Tb 3+ , Ho 3+ , Er 3+ , Tm 3+ , etc., are commonly used as UCNPs activators. Moreover, increasing the doping concentration from the single doping activator UCNPs will cause a certain degree of luminescence of reduction [4][5][6]. In order to improve the luminescence efficiency, in the presence of the luminescence center, another rare-earth ion is doped with a high concentration, namely, the sensitizer. Unlike other trivalent rare-earth ions, Yb 3+ has only one excited state, which does not reduce the luminescence properties of materials, due to concentration quenching, energy transfer, and other factors. Therefore, Yb 3+ is the most commonly used sensitizer. In general, Yb 3+ -Er 3+ , Yb 3+ -Tm 3+ , Yb 3+ -Ho 3+ ion pairs double-doped UCNPs have high luminescence efficiency, and the doping of different proportions of Yb ions affects the luminescence intensity and emission peak position [7] ( Figure 1), becoming the focus of research in recent years.
As we know, the UCNPs consist of a matrix, sensitizer, and activator. Some singledoped UCNPs do not contain the sensitizer. Among them, the matrix is the central part of the UCNPs. Many studies have proved that Y 3+ , La 3+ , and Lu 3+ ions are more suitable for matrix materials. The ions that are incorporated into the matrix as luminescence centers are called activators. Rare-earth ions with abundant energy levels such as Pr 3+ , Nd 3+ , Sm 3+ , Tb 3+ , Ho 3+ , Er 3+ , Tm 3+ , etc., are commonly used as UCNPs activators. Moreover, increasing the doping concentration from the single doping activator UCNPs will cause a certain degree of luminescence of reduction [4][5][6]. In order to improve the luminescence efficiency, in the presence of the luminescence center, another rare-earth ion is doped with a high concentration, namely, the sensitizer. Unlike other trivalent rare-earth ions, Yb 3+ has only one excited state, which does not reduce the luminescence properties of materials, due to concentration quenching, energy transfer, and other factors. Therefore, Yb 3+ is the most commonly used sensitizer. In general, Yb 3+ -Er 3+ , Yb 3+ -Tm 3+ , Yb 3+ -Ho 3+ ion pairs double-doped UCNPs have high luminescence efficiency, and the doping of different proportions of Yb ions affects the luminescence intensity and emission peak position [7] (Figure  1), becoming the focus of research in recent years.   Although Atomic Absorption Spectrometry (AAS) [8,9], High-Performance Liquid Chromatography (HPLC) [10,11] or Mass Spectrum [12] and other instrumental analytical methods have been widely used in the analysis of metal ion, liquid organic pollutant or other substances, their expensive analytical costs and limitations in real-time detection are determined by the environment in which they are used. In contrast, fluorescence methods such as organic dyes [13], quantum dots (QDs) [14], metal complexes [15] offer the advantages of simplicity of operation, high stability, rapidity and accuracy, and the possibility of real-time detection. Among them are UCNPs, with their specific light-emitting pattern forming their unique characteristics, such as narrow emission bandwidths, large anti-Stokes shift, multicolor emission, low auto-fluorescence background, long lifetime, and high penetration stability [16]. A large number of researchers have found that these properties of the UCNPs can be put to excellent use in analytical application studies. Moreover, UCNPs have low toxicity and good chemical stability, which can make up for the shortcomings of the above-mentioned fluorescent materials in analytical applications. More importantly, the UCNPs are easily functionalized and can be applied in various fields. In this paper, we will detail the contribution of UCNPs applied to chemical analysis. Furthermore, we attempt to summarize the fluorescent characteristics and sensing applications of UCNPs in systematic mean ( Figure 2). nm with a 600 mW diode laser. The photographs were taken with exposure times of 3.2 s for ( and 10 s for (M,N). Reprinted with permission from [7], copyright 2008, American Chemical Soc Although Atomic Absorption Spectrometry (AAS) [8,9], High-Performance Liq Chromatography (HPLC) [10,11] or Mass Spectrum [12] and other instrumental analyt methods have been widely used in the analysis of metal ion, liquid organic pollutan other substances, their expensive analytical costs and limitations in real-time detection determined by the environment in which they are used. In contrast, fluorescence meth such as organic dyes [13], quantum dots (QDs) [14], metal complexes [15] offer the vantages of simplicity of operation, high stability, rapidity and accuracy, and the poss ity of real-time detection. Among them are UCNPs, with their specific light-emitting tern forming their unique characteristics, such as narrow emission bandwidths, large a Stokes shift, multicolor emission, low auto-fluorescence background, long lifetime, high penetration stability [16]. A large number of researchers have found that these pr erties of the UCNPs can be put to excellent use in analytical application studies. Moreo UCNPs have low toxicity and good chemical stability, which can make up for the sh comings of the above-mentioned fluorescent materials in analytical applications. M importantly, the UCNPs are easily functionalized and can be applied in various fields this paper, we will detail the contribution of UCNPs applied to chemical analysis. F thermore, we attempt to summarize the fluorescent characteristics and sensing appl tions of UCNPs in systematic mean ( Figure 2). This review provides an overview of recent advances in the design and applica of UCNPs, focusing on four distinct areas including environmental analysis, biolog This review provides an overview of recent advances in the design and application of UCNPs, focusing on four distinct areas including environmental analysis, biological analysis, food analysis, and medicine analysis. It covers sensors and assays mostly based on the UCNPs with a small size. We first introduce the synthesis of rare-earth-doped UCNPs and the surface modification processes, then we review sensing processes mechanisms and finally focus on introducing general sensing schemes for UCNPs-based chemo-sensors and biosensors.

Design of the UCNPs Analysis Nanoplatform
The design of the UCNPs nanoplatforms is targeted at sensing applications. So, the synthesis of the UCNPs and the construction and working mechanism of the UCNPs nanoplatforms are a prerequisite for the development of sensing schemes.

Synthesis of the UCNPs
The different composition, crystalline shape, shape, and size of nanoparticles can affect their optical properties and potential utilization in applications in fluorescence analysis or other research fields. Therefore, its synthesis methods have received much attention. In this paper, we will introduce several commonly used synthesis methods such as hightemperature pyrolysis, hydrothermal synthesis, and solvothermal methods, etc. Here, we focus more on applying the UCNPs in the analysis field, so in this chapter, we describe more synthetic methods used in recent years of applications. Researchers can choose different synthesis methods for the preparation of the UCNPs according to the diverse needs of the application (Table 1).

High-Temperature Decomposition Method
High-temperature pyrolysis is one of the most common methods to synthesize rareearth UCNPs. The process involves the rare-earth precursors being dissolved in a high boiling point organic solvent and then treating them at high temperature in the presence of a surfactant for a certain period to obtain rare-earth nanoparticles with uniform morphology and controlled size. The rare-earth trifluoroacetic acid or rare-earth chloride are used as precursors, and oleic acid (OA), oleylamines, or octadecenoic with long chains and polar ends are commonly used as surfactants [17][18][19]. Using trifluoroacetate as the precursor, Chow et al. [20] used oleylamine solvent to prepare the 10 nm NaYF 4 : Yb, Er. Furthermore, different reaction times, reaction reagent volume, and different reaction temperatures will affect the size and morphology of the UCNPs. While the incorporation of oily surfactants in the synthesis process poses difficulties for the application of UCNPs in analytical or biological fields, research on surface modification or functionalized UCNPs has become popular and important.

Hydrothermal Method
In contrast, the synthesis conditions of the hydrothermal method are more uncomplicated. The solubility and reaction rate of the inorganic precursors are increased in a solvent system by controlling a suitable temperature and a vapor pressure above a solvent system's critical value. Then, the method of preparing UCNPs by subsequent crystallization of the dissolved precursor ions from the solvent, under high temperature and pressure conditions, is conducted. This method uses a low-cost environmental solvent, and the reaction conditions are easy to control. In the process of hydrothermal synthesis, choosing the appropriate additive with specific functional groups of nanometer particle morphology and size of the control counts a great deal. Li et al. [21] proposed a liquid-solid liquid-phase method to synthesize high-quality rare-earth fluoride nanoparticles. Many kinds of nano-micron particles with different morphology and structure have been prepared by the hydrothermal method. The additives can be used as complexing agents and structure guiding agents in the process of the formation of nano-particles. Usually, the organic additives used in the synthesis of rare-earth nanoparticles include (OA) [22][23][24], ethylenediaminetetraacetic acid (EDTA) [25][26][27], cetyltrimethylammonuim bromide (CTAB) [28,29], trisodium citrate [30,31] and so on.

Solvothermal Method
In solvothermal methods, simple hydrothermal methods show great potential for preparing one-dimensional rare-earth ion-doped nanowires, nanorods, or nanotubes, especially for preparing rare-earth hydroxides, when no organic additives or templates are used. For example, hydroxide nanowires, nanotubes, and nanorods can be selectively synthesized in a water system of rare-earth ions and NaOH (or KOH, NH 3 ·H 2 O) under specified temperature and pH conditions [32,33]. In order to fine-tune the morphology and size of the target product, the most effective and direct strategy is to add appropriate organic active agents. On the one hand, free ion concentration affects monomer concentration and growth kinetics, while the actual free ion concentration depends on the coordination between metal ions and hydrophilic ligands. On the other hand, the selective adsorption of organic ligands on the crystal surface is beneficial to obtain controllable crystal morphology. Organic active agents include hydrophilicity and hydrophobicity. Commonly used hydrophilic surfactants include citric acid (Cit 3+ ), EDTA, polyvinylpyrrolidone (PVP) [34], CTAB, polyvinylidene (PEI) [35], polyacrylic acid (PAA) [36,37], polyphosphoric acrylate (P-PAA) and 2-aminoethyl dihydro phosphates (APE). Zhang et al. [38] used OA as a surfactant to produce homogeneous NaYF 4 nanorods, nanorods, and flower-shaped nanorods under different reaction conditions. In addition, OA as a surfactant can also be used to prepare rare-earth-doped nanoparticles with controllable morphology and size [39].

Surface Modification Strategies for the UCNPs
As noted above, our prepared UCNPs are dispersed in organic solvents such as cyclohexane and toluene due to the surface coating by OA or oleylamine, which can cause difficulties in subsequent studies. For example, as anti-Stokes fluorescent materials with near-infrared excitation and visible light emission, the UCNPs hydrophobic surfaces need to be converted to hydrophilic surfaces for analytical assays to be performed, then to graft-specific responsive, functional groups on the hydrophilic surface for the needs of the analyte. The hydrophilic process of the UCNPs was divided into ligand-free conversion and ligand modification. In ligand-free modifications, a good example is the acid treatment method used by Nicoleta Bogdan et al. [48], whereby Oleate-capped Ln-UCNPs were dispersed in an aqueous solution, and the pH was adjusted to 4 with HCL (0.1 mol L −1 ) to protonate the carboxylic acid group of the OA ligand (to produce OA). The UCNPs were obtained by extraction of the dispersed in water, while according to the study, the integrated UCNPs red-green emission ratio of Ln-UCNPs dispersed in toluene differs somewhat from that of Ln-UCNPs spread in water, which can be adjusted depending on the needs by adjusting the pH or by taking isotopic electronic isotopic [49]. The proposed scheme for the acid-base reaction occurring at the surface of the Ln-UCNP is as follows [48]: In addition to the "ligand-free hydrophilic modification" process described above, ligand modification can be divided into organic ligands (-NH 2 , -COOH) and inorganic ligands (UCNPs@SiO 2 ). The typical method for conversion of compounding of UCNPs@SiO 2 is Stober's reverse microemulsion method [50]. The approach is to form a water-in-oil microemulsion by adding the surfactant Igepal CO-520. After stirring, Igepal CO-520 and ammonium hydroxide were added again. Ultrasonication was performed to distribute the nanocrystals within the micelles uniformly. After adding TEOS and stirring for two days, organic solvents such as acetone were added to precipitate and separate the nanoparticles. Another surface silanization method is by adding ethyl orthosilicate dropwise (TEOS), at 70 • C, under alkaline conditions after 12 h of emulsification by adding the surfactant CTAB [51]. Different thickness of the silica shell (3-5 nm) affects the luminescence of the UCNPs to some extent, and the thickness of the shell layer can be controlled according to the application's requirements. Although the coated silica can make the UCNPs surface hydrophilic, it does not provide the functional groups which the analyzed application process is coupled. Functionalization of the UCNPs organic ligands based on encapsulated silica is an essential part of the design of the UCNPs analysis platforms. Table 2 illustrates some of the commonly used amination, carboxylation, and other surface modification UCNPs studies, usually the synthesis of amination UCNPs based on silylation, which is commonly performed by UCNPs of APTES or PEI grafting. In contrast, carboxylation sometimes does not require the process of silylation. However, some experiments will also be activated after the amination UCNPs and then connected to the carboxyl group. The table mentions some bioimaging or drug delivery (therapeutic) processes on the functionalization of UCNPs is hoped to bring analytical work. The functionalization of UCNPs for some bioimaging or drug-loaded (therapeutic) processes mentioned in the table is intended to inspire targeted functionalized UCNPs in some specific environments, such as He et al. [52] combined two representative biocompatible PCL and hydrophilic HPG on the UCNPs surface. Similarly, to improve the aggregation, precipitation, or degradation of the UCNPs in acidic, alkaline, or high ionic strength media, Markl et al. [32] designed self-assembling phospholipid bilayers (PLMs) functionalization NaYF 4 : Yb, Er, which can prevent instability in phosphate-buffered solution effectively, and it is a better application for in vivo analysis of organisms.

Construction of the UCNPs Nano-Platforms
It is well known that the UCNPs have a significant anti-Stokes shift and brilliant biocompatibility. While depending on the choice of the analyte, sometimes NaLnF 4 : Yb, Er (Tm) or another alone cannot achieve the purpose. However, the addition of two or more nanomaterials or biomaterials can help us achieve the purpose of analysis. For example, the absorption wave of gold nanoparticles overlaps with the emission spectrum of the UCNPs, which will affect the luminescence of part of the UCNPs [33]. Furthermore, gold nanoparticles are easy to modify the surface functional groups, so when analyzing different targets, fluorescence analysis can be carried out according to the different effects of the functional groups without affecting the fluorescence of the UCNPs. At the same time, in order to circumvent the problems of low-fluorescence resonance energy transfer (FRET) luminescence efficiency and low sensor sensitivity, targeted modification of the UCNPs has been an essential part of designing sensing platforms and is widely used in the analysis of metal ions and organic reagents as well [53,54]. In addition, also used is the coupling of biological elements such as antibodies, aptamers, and cDNAs using UCNPs and synergistic effects with carbon dots and graphene oxide quantum dots to analyze and detect microorganisms or small molecules such as fungal toxins [55][56][57] (Figure 3).
With the continuous optimization of magnetic separation technology, when the UC-NPs are applied to the analysis of a specific environment, magnetic nanoparticles such as Fe 3 O 4 synergize with them at the end of the analysis to facilitate the separation of the probe and the substance to be measured and facilitate the integration of enrichment and detection. Furthermore, the synergistic effect of some particles is to enhance the upconversion luminescence intensity and thus improve the detection efficiency, such as doping core-shell NaGdF 4 : Yb, Er@NaYF 4 : Yb 3+ , fluorescence enhancement more than NaLnF 4 : Yb, Er 1.6 times [58]. In addition, molecularly imprinted polymers (MIPs) molecular imprinting techniques have been combined with UCNPs to improve selectivity by exploiting the specific adsorption sites of molecularly imprinted polymers, thereby enhancing detection efficiency [59][60][61]. Apart from these, organic dyes [62] and fluorescein [63] are also used to form nano-fluorescent probes in synergy with UCNPs, and the applicable fluorescein is selected according to some unique properties of different substances to be measured. For example, in order to design a fluorescent probe for the detection of cysteine, Guan's group [64] used probe 5 (6)-carboxy fluorescein-O, O -diacrylate, which has a sensitive response to cysteine (Cys), combined with the effect on the position of the upconverted emission peak to achieve the purpose of analysis. With the continuous optimization of magnetic separation technology, whe UCNPs are applied to the analysis of a specific environment, magnetic nanoparticle as Fe3O4 synergize with them at the end of the analysis to facilitate the separation probe and the substance to be measured and facilitate the integration of enrichme detection. Furthermore, the synergistic effect of some particles is to enhance the u version luminescence intensity and thus improve the detection efficiency, such as d The design of the UCNPs nano-fluorescent probes for analytical assays has become a topical issue today. The selection of suitable structures of synergistic substances according to the requirements is still a challenging task that requires a lot of exploratory work researchers to subsequently develop innovative UCNPs fluorescent probes.

Mechanisms and Techniques for Optical Analysis of UCNPs Nano-Platforms in Practical Applications
Until now, The UCNPs emits high-energy visible light by two-photon or multi-photon processes under excitation with low-energy excitation light such as near infrared, which means that upconversion nanomaterials reduce background fluorescence and light scattering [84][85][86], thus allowing qualitative analysis with quantitative processes that have unpredictable effects and receive increasing attention from researchers [6]. In addition, the UCNPs with long fluorescence lifetime, high quantum yield, and low photodegradation have been widely used in therapeutic, environmental, biological, food, and medical applications [87,88].
UCNPs fluorescence probes combined with fluorescence analysis are often used in material analysis to use their luminescent properties. Fluorescent determination often utilizes fluorescence labeling or label-free fluorescence techniques [89,90]. The fluorescence labeling method presupposes labeling and separation of the sample from the target analyte, and the label-free fluorescence techniques are accomplished primarily by quenching, reducing, or restoring fluorescence affected by the analyte.
The fluorescence quenching (FQ) mechanisms are mainly as follows: (i) Static or dynamic quenching: weak binding between the ground state fluorescence molecule and quench agent produce new complex, which causes the static quenching; the excited fluorescent molecule collides with quench agent which causes the dynamic quenching. (ii) Energy transfer (ET): the two standard UCNPs fluorescence sensor energy transfer modes are FRET theory, and luminescence resonance energy transfer (LRET). These mechanisms describe ET from a donor fluorophore to an acceptor fluorophore through nonradiative dipole-dipole coupling. UCNPs are used as energy donors in ordinary, and it offers considerably greater freedom for upconverted emission wavelengths than the one produced merely by the lanthanide ions. Despite there being little difference between FRET and LRET, the energy transfer in LERT is radiative, whereas it is nonradiative for FRET, and the sensitivity and selectivity of the UCNPs fluorescent probe will not be influenced by this. (iii) The Inner filter effect (IFE) refers to the absorption of the exciting radiation and/or emitted fluorescence radiation of fluorophores by absorbers in the detection system. IFE only occurs effectively if the absorption band of absorbers possesses the complementary overlap with the excitation and/or emission bands of fluorophores. This theory depends on luminescent groups that can be applied in substance analysis [91]. Compared with those fluorescence probes that can be changed directly or indirectly through surface modification or functionalization, either independent transfer of the energy or the substance to be measured, the IFE-based approach does not require the link of absorbers with fluorophores, which offers considerable flexibility and more simplicity. (iv) Photoinduced electron transfer (PET) system when upon near-infrared excitation, the excited photoelectrons of UCNPs can be captured by electron acceptors. The maximal difference between PET and FRET is that two disparate fluorescent substances pass the energy in FRET, while PET only needs a vacancy in the fluorescent group to support electron transition, which can make the operation easier [92].
Amidst label-free fluorescence techniques, biological means purpose to FQ has been applied to analysis currently, except fluorescence quenching caused by physical factors such as immunofluorescence and nucleic acid aptamer unlabeled fluorescence. Indeed, the principles of these technologies are still inseparable from physical factors. The mechanism of label-free immunoassay is that the recognition process of antibody and antigen binds or separates with the fluorescent probe competitively, and then attenuation the fluorescence signal. Similarly, the unlabeled fluorescence detection mechanism of the aptamer is that the combination of the aptamer and the target changes the secondary structure of the aptamer. Furthermore, the competitive hybridization between the complementary sequence and the aptamer changes the environment around the aptamer and weakens the fluorescence signal of the fluorescent probe.
In addition to label-free fluorescence techniques used frequently for biological detection, the above-mentioned free-labeled fluorescence technique is usually characterized through fluorescence quenching. There are other kinds of analysis modes such as ratio fluorescent analysis and Colorimetric fluorescent detection [93]. In the upconversion fluorescent probe system, the solid electron-withdrawing group connected with the UCNPs and the strong electron-donating group or electron-donating organic dye connected with gold nanoparticles or quantum dots form a D-π-A conjugated system. During stimulation, donor-to-donor electron transfer is likely to occur, resulting in changes in fluorescence properties that can be implemented in the fluorescence signal transmission ratio test [94].

The UCNPs in Analytical Application of Environmental Science
The healthy water-cleaned soil and pure air in the natural environment are the cornerstone of the social environment, which is the human pursuit. Nevertheless, the progress of science and technology and the development of society also have related costs. There are heavy metal ions, organic pollutants, and waste residue in lakes and land; colored gas remains for a long time. Researchers have studied various effective methods for analyzing these ingredients, such as chromatography, which has high separation efficiency and poor qualitative ability. Moreover, mass spectrometry (MS) can detect organic compounds' structural while because of complex samples to be tested, MS alone cannot meet the requirement of testing. The development of nanotechnology, due to the size of the nanoparticles' advantages of luminescence properties, promotes the application of fluorescence detection, gradual development of nanometer fluorescent probes for analysis of toxic and harmful substances in the environment bring innovation. At the same time, compared with the expensive instrument analysis of the complex operation and strict sample pretreatment, nano fluorescent probe with simple operation and strong specificity supplies a mean for real-time detection.
The UCNPs as light-emitting tunable fluorescence sensors play a favorable role in monitoring pesticide residues, heavy metal ions, organic pollutants. Additionally, inorganic salt ions in water and soil, as well as harmful gases in the atmosphere [95][96][97]. Furthermore, we summarize the contribution of the UCNPs fluorescent nanoplatforms in environmental analysis in Table 3.

Organic Contaminant Residue Analysis
Common organic pollutants in the environment include organic pesticides, polycyclic aromatic hydrocarbons, dioxin compounds, polychlorinated biphenyls, phenolic compounds, etc. They are difficult to be degraded and can seriously endanger human life. Gas Chromatography-Mass Spectrometry and Liquid Chromatography-Mass Spectrometry are commonly used to detect these organic pollutants, which is more costly than the UCNPs fluorescence probe analysis we presented. Among them, organic pesticides such as organochlorine, organophosphorus, nitromethyl, and nicotine act on various crops by different toxic mechanisms. Take organophosphorus pesticides as an example, they inhibit acetylcholinesterase activity in the central and peripheral nervous system. While poisoning insects, their residues can affect human health. This chapter focuses on applying the UCNPs fluorescence analysis mainly in environmental wastewater, industrial effluents, soil contamination, etc.
Organic herbicide processes forceful systemic, which can produce targeted toxicity. Although OCs have self-decomposition ability, their residual toxicity can last a long time. Sayed M. Saleh et al. [98] designed a ratiometric and colorimetric optical sensor film which consists of near-infrared (NIR) dye 2- -indolium hydroxide and UCNPs, making use of UCNPs can be emitted a dual (green and red) emission under 980 nm laser diode excitation. The NIR probe conjugated system has a chloro group to the nucleophilic substitution of amines which changing the electronic distribution of their conjugated system causes the difference fluorescence signal. Then, the metribuzin is to identify. This system is precise because polyvinyl chloride (PVC) polymer was utilized to provide high homogeneity protecting fluorescent probes from leaching out. The cocktail exhibits high stability over long periods of time, high reproducibility, and exposure to pesticide media exhibits high stability.
Bisphenol A, which is widely used in plastic products such as water bottles, is an environmental estrogen that can enter water or soil during plastic degradation, so bisphenol A (BPA) testing has become particularly important. Therefore, Li et al. [99] designed streptavidin and amino groups modified UCNPs, and the modification of amino groups can save the use of biological materials. Additionally, the detection limit can be as low as 0.05 ng mL −1 . Compared to the above method, Guo et al. [100] took advantage of an aptasensor labeled with Mn 2+ -doped NaYF 4 : Yb, Er combined with electrogenerated chemiluminescence, which solved the oxidation of Bisphenol A near catechin potential sensi-tivity of analysis, which was improved. Fluorescence analysis of electroluminescence-assisted UCNPs improves the analysis speed and the detection limit is as low as 0.037 ng mL −1 .
Many kinds of persistent organic pollutants are so due to their persistence, bioaccumulation, high toxicity, and complex environmental degradation, such as widespread contaminant PFOS. Li et al. [101] designed a fluorescence sensor, UCNPs@COFs, through hydrogen-bond interactions between COFS and PFOS to quench the UCNPs fluorescence. At the same time, COFS on the surface of UCNPs is ready to improve the fluorescence quantum yields and cause the sensor much more sensitivity. Tian et al. [111] prepared NaYF 4 : Yb, Er@NaGdF 4 @MIP to detect PFOS, and this fluorescent sensing can be used in a wide range of applications without affecting the upconversion of luminescence during specific identification.
Wang et al. [102] prepared a UCNPs fluorescent aptasensor based on hybridization chain reaction and nicking endonuclease. This aptasensor has been developed to detect polychlorinated biphenyls. The robust aptasensor can be applied for the analysis of actual samples, and it also has high sensitivity and excellent selectivity ( Figure 4). sphenol A (BPA) testing has become particularly important. Therefore, Li et al. [9 signed streptavidin and amino groups modified UCNPs, and the modification of groups can save the use of biological materials. Additionally, the detection limit can low as 0.05 ng mL −1 . Compared to the above method, Guo et al. [100] took advant an aptasensor labeled with Mn 2+ -doped NaYF4: Yb, Er combined with electrogen chemiluminescence, which solved the oxidation of Bisphenol A near catechin po sensitivity of analysis, which was improved. Fluorescence analysis of electrolum cence-assisted UCNPs improves the analysis speed and the detection limit is as 0.037 ng mL −1 .
Many kinds of persistent organic pollutants are so due to their persistence, bi mulation, high toxicity, and complex environmental degradation, such as wides contaminant PFOS. Li et al. [101] designed a fluorescence sensor, UCNPs@COFs, th hydrogen-bond interactions between COFS and PFOS to quench the UCNPs fluores At the same time, COFS on the surface of UCNPs is ready to improve the fluore quantum yields and cause the sensor much more sensitivity. Tian et al. [111] pre NaYF4: Yb, Er@NaGdF4@MIP to detect PFOS, and this fluorescent sensing can be u a wide range of applications without affecting the upconversion of luminescence d specific identification.
Wang et al. [102] prepared a UCNPs fluorescent aptasensor based on hybridi chain reaction and nicking endonuclease. This aptasensor has been developed to polychlorinated biphenyls. The robust aptasensor can be applied for the analysis of samples, and it also has high sensitivity and excellent selectivity (Figure 4).  The UCNPs have favorable biocompatibility, stably coupling with nuclein and amino acids to use a fluorescence immunoassay in organic pollutants analysis. Duan et al. [76] proposed a fluorescence immunoassay sensor to detect BPA with anti-BPA antibody conjugated carboxyl functionalized the UCNPs and coating antigen-conjugated carboxylfunctionalized magnetic polystyrene microspheres. This method can provide a suitable way for quick field analysis, which can be very accurate.

Inorganic Contaminant Analysis
In this section, we summarized recent works on the use of UCNPs for detecting various inorganic contaminants such as chemical ions. Moreover, the results also deliver real-time information on targeted ions in complex samples, and some gas pollutants.

Heavy Metal Ion Analysis
Toxic heavy metals such as Chromium (Cr), Iron (Fe), Copper (Cu), Lead (Pb), Silver (Ag), and Mercury (Hg) are increasing discarded into environmental surroundings such as soil, river, lake, and pond water. What is more serious is that toxic heavy metals pose a threat to human existence indirectly. These metal ions can be analyzed explicitly in the light of luminous intensity changes in UCNPs, including luminescence enhancement, luminescence attenuation, and fluorescence quenching.
Among the rest, silver ions have excellent antibacterial activity, but a heavy metal contaminant can also cause irresistible side effects in humans. In 2017, He et al. [103], taking advantage of the ability of Ag + to specifically bind to two cytosines (C) mismatch in DNA to form stable C-Ag + -C complexes, established Sodium citrate functional UCNPs and NH 2 -ssDNA functional graphene quantum dots. When adding Ag + to this system affected by FRET, UCNPs are fluorescence quenching.
Chromium is a trace metal element of the human body for physiological function, but excessive intake of chromium ions is seriously harmful to health. Liu et al. [104] used the luminance tunability of UCNPs to design a single structure Ce 3+ -doped LiYF 4 : Yb 3+ /Ho 3+ @LiYF 4 modified by CRD through FRET. With the addition of Cr 3+ into the probe solution, the color of the solution will be changed from green to other colors ( Figure 5A).

Inorganic Acid Ion
Phosphorus is required for plants growing. Ramirez-Garcia et al. [109] designed a nano-scale conjugated fluorescence sensor. The sensor uses conjugated luminescence of Fast Green alimentary dye (FG) and ZrO 2 : Yb, Er@ZrO 2 , as well as the strong interaction and spontaneous formation of chemical bonds between phosphate group and zirconia (ZrO 2 ) as a phosphate monitor in the environment, as shown in Figure 5B. This sensor structure can enhance the upconversion luminescence, thus improving its sensitivity. While using FG, it is necessary to pay attention to its particular physical characteristics. It is therefore highly desirable to design better UCNPs-based nanosensors for PO 4 3− .

Air Pollutants
Sulfur dioxide (SO 2 ), nitric oxide (NO), sulfuretted hydrogen(H 2 S) as a dominant component of industrial waste gas. Additionally, it has become a key indicator in the monitoring of atmospheric contamination. Zhang et al. [110] set a paper-based sensor through cyanine modified UCNPs to detect SO 2 . On account of FRET between cyanine and UCNPs to decrease UCNPs luminescence, the absorption of the cyanine dye can be quenched after reacting with bisulfite ions, thereby increasing the luminescence of UCNPs.
It is sensitive to utilize test paper to monitor SO 2 when building a smartphone-based detection platform, manufactured via 3D printing technology. It provides a highly feasible idea for the real-time monitoring of other gas pollutants such as NO or H 2 S.

UCNPs in Analytical Application of Bioscience
The UCNPs have shown significance as biomarkers compared to traditional fluorescent dyes because of unique anti-Stokes fluorescence properties [112]. The excitation of UCNPs bio-labels allows NIR light, it is non-invasive, and it can penetrate deep into cells and tissues. This property of the UCNPs make its fluorescence unaffected by the sampling fluid during the detection process. More importantly, NIR irradiation is not absorbed by biological samples and therefore does not produce an auto-fluorescent background [113]. Moreover, it significantly reduces the LOD that cannot be obtained by conventional assays. Therefore, the application of UCNPs in bioanalysis has obvious advantages.

Analysis of Biomacromolecule
Biological macromolecules, including proteins, enzymes, and nucleic acid, will reflect the body's physiological state to a certain extent. Then, UCNPs, a slapping

UCNPs in Analytical Application of Bioscience
The UCNPs have shown significance as biomarkers compared to traditional fluorescent dyes because of unique anti-Stokes fluorescence properties [112]. The excitation of UCNPs bio-labels allows NIR light, it is non-invasive, and it can penetrate deep into cells and tissues. This property of the UCNPs make its fluorescence unaffected by the sampling fluid during the detection process. More importantly, NIR irradiation is not absorbed by biological samples and therefore does not produce an auto-fluorescent background [113]. Moreover, it significantly reduces the LOD that cannot be obtained by conventional assays. Therefore, the application of UCNPs in bioanalysis has obvious advantages.

Analysis of Biomacromolecule
Biological macromolecules, including proteins, enzymes, and nucleic acid, will reflect the body's physiological state to a certain extent. Then, UCNPs, a slapping fluorescent probe, can monitor them and provide essential information for lesion diagnosis and later treatment.

The UCNPs Analysis of Proteins
There are three kinds of commonly used analysis strategies for UCNPs to detect protein. (i) Constructing a FRET system with other factors; (ii) The UCNPs can be used as a medium to build a hairpin DNA probe, and the premise is that the probe contains a substance which can be identified explicitly with the protein being tested. (iii) UCNPs use identified protein antibodies as vectors. Protein detection can be realized using the advantage of UCNPs biological binding, combining instruments, or constructing fluorescent side-flow biosensors.
Heparin is a polysaccharide that works as a clinical anticoagulant drug to prevent blood clotting, while heparin overdose and prolonged use could induce potentially fatal bleeding complications. Additionally, protamine is the antidote for heparin. Long et al. [114] designed the UCNPs-AuNPs FRET system formed by the electrostatic adsorption, which will quench UCNPs, because the protamine has much positive charge and it can bind to AuNPs to make UCNPs fluorescence recovery. Additionally, because heparin is electron rich, adding it to this solution will combine with protamine, and then UCNPs fluorescence will be quenched again. The sensitivity of this dual function probe is relatively high, and the detection line of heparin is decreased to 0.7 ng mL −1 .
Alpha fetoprotein (AFP) is an important cancer biomarker of liver cancer, currently detecting AFP relays via instrumental means. Hu et al. [115] established an immunoassay based on ICP-MS using UCNPs as elemental tags to determine AFP. The proposed method is rapid and accurate. Moreover, it has good tolerance to complex biological matrices, indicating the great potential of UCNP as an elemental marker in biological research. Zhai et al. [116] prepared NaYF 4 : Yb, Tm/ZnO/CdS composite film electrode by pulsed laser deposition, prompting the photoelectrochemical performance of the electrode, and more importantly it shows ultrasensitive detection of AFP. Its low detection limit can reach 5 pg mL −1 . It is one of the best results of all AFP analyses. A similar consequence can be achieved through the photoelectrochemical (PEC) immunoassay sensing technique. Luo et al. [117] used the high catalytic activity of glucose oxidase (GOx) to construct core-core-shell UCNP@Au@CdS and generated H 2 O 2 using polyclonal anti-AFP antibodies. A sandwiched immunoreaction was first performed in microtiter plates coated with monoclonal anti-AFP antibodies. Additionally, antibody-labeled gold nanoparticles were utilized as secondary antibodies to promote photocurrent signals.
While one limitation of this method is that the generated H 2 O 2 by enzyme immunoassay is artificially injected into the photocurrent detection cell, we need to simplify the process for experimental purposes.
Target-triggered DNA assembling probes labeled with UCNPs mediated amplification strategy provide more affinity sites to improve system sensitivity. Liu et al. [118]  The UCNPs probe includes two affinity sites. The target proteins binding to two affinity probes can be applied in this strategy. Such UCNPs probes can only detect specific proteins because of the limitation of relying on one or more affinity sites. If there are no affinity sites in the protein, we cannot use this method. At the same time, it is not such a suitable means for most proteins, and it will take too much time and is much expensive. A sensitive and straightforward UCNPs probe to detect growth factor-BB (PDGF-BB) will be designed, just like a direction of effort.
Some enzymes as specific proteins in organisms have a heavy response with the UCNPs fluorescent platforms, which can shred evidence to inform clinical diagnosis. Alkaline phosphatase (ALP) is a necessary serum biomarker that is an essential indicator of clinical diagnostics. Chen et al. [119] designed an enzyme cascade signal-amplified (ECSAm) strategy with label-free silver triangular nanoplates (AgTN-Ps) combined with UCNPs that can realize rapid and accurate recognition of ALP in serum, while this process is not as complex when compared with a "turn-on" sensor based on MnO 2 -coated UCNPs prepared by Liang et al. [120]. Because only one reaction of ascorbic acid and MnO 2 reduction is introduced, it simplifies the operation of the experiment. The weakness of this method is that its LOD compared with the former 0.035 mU mL −1 is a little higher.
Bifunctional UCNPs can detect metal ions simultaneously while detecting enzymes, due to the ability of some metal ions to form complexes with enzymes, such as (GSH) 4 Cd complex, which is formed by the aggregation of Cd 2+ and GSH, and Fang et al. The authors of [121] used GSH as a link to detect acetylcholinesterase (AChE) through AuNPs-UCNPs FRET sensing platform. Moreover, the detection limit of AChE activity is 0.015 mU mL −1 .

The UCNPs Analysis of Nucleic Acids
The aberrant expression of MicroRNAs (miRNA) is usually associated with human cancer. The diagnosis and discovery of miRNA at an early stage of the disease are essential. The abundance of miRNA is a little low, and PCR can amplify mRNA detection accuracy in common, while the fee is costly. Researchers use chemical methods by introducing UCNPs, which have no background autofluorescence, no photobleaching, and stable luminescence, and which detect miRNA in the cell.
In order to achieve rapid, simple, and sensitive analysis of miRNA, many researchers have designed the contact sites and structural regulation of UCNPs (Table 4).
Because RNA sequence fragment signals are pretty weak, sequence amplification is necessary, but it is complex. Many researchers are devoted to combining UCNPs FL sensors with DNA or produce devices, because it can amplify signals to achieve sensitive and speedy analysis of mRNA without amplification. This design brings many challenges to the experiment and becomes a problem to be overcome in future research.

Analysis of Small Biomolecules
Biological small molecules including amino acid and polypeptide et al. For example, the chemical structure of amino acids is easily captured by substances modified on the surface of UCNPs. Or it can be directly designed as a fluorescence resonance energy transfer IFE sensor. This has also become one of the ordinary means to detect other small biological molecules on the UCNPs nano platform.

The UCNPs Analysis of Amino Acid
Associated with detecting arginine, Wu et al. [122] used the guanine group in the positively charged arginine to bind to the AuNPs electrostatically to designed a FRET system between the UCNPs and AuNPs, and the limit of detection is as low as 2.9 µmol L −1 . Using UCNPs to analyze tyrosinase can show a dual-functional sensor, as Wang et al. [123] studied, since the tyramine under the action of tyrosinase generated melanin polymers can convert fluorescence quenching. Additionally, the fluorescence intensity has a linear relation with the concentration of tyramine. Moreover, the result has a linear relation and the activity of tyrosinase, to realize the double function test. The content of tyrosinase was measured indirectly, and the analysis of tyrosinase detection limit was as low as 0.003 U mL −1 .

The UCNPs Analysis of Peptides
Glutathione can reflect the human immune system in some conditions, and some researchers are interested in detecting it. Sun et al. [53] designed bifunctional UCNPs fluorescence probes to detect glutathione (GSH) and Cd 2+ , and the probes have consisted of UCNPs and AuNPs. Compared with Nguyen et al. [124] utilizing Rhodamine B derivative UCNPs to detect GSH by the FRET principle, the last method is a little expensive, and this way provides a much easier choice, with no background fluorescence. Moreover, Chen et al. [125] built core-satellite UCNPs and introduced CaF 2 , thus enhancing the absorbability of biomass. The key to this method is constructing the UCNPs structure by the sequential injection technique. Most importantly, it can produce specific recognition of GSH.

The UCNPs Analysis of Neurotransmitter
Dopamine (DA) is the most abundant catecholamine neurotransmitter in the brain. In contrast, clinical diagnosis of dopamine is often unsuitable for routine analysis, due to the high cost, long analysis time, complex pretreatment, and low selectivity to dopamine in the analysis process. Jose et al. [126] used UCNPs as a resonant light scattering (RLS) nanometer probe for quantitative analysis of dopamine, achieving trace analysis of biological samples with accurate detection data and excellent selectivity. Furthermore, Kumar et al. [127] developed a facile UCNPs sensing platform to detect DA in real time, wherein the LOD is as low as 0.63 nmol L −1 and the method is highly sensitive and agile ( Figure 6A). Early sensitivity analyzation of thyroid-stimulating hormone (TSH) allows for early diagnosis of thyroid related disorders. Liu et al. [128] designed the UCNPs-tetramethylrhodamine (TAMRA) graft aptamers for the detection of TSH. When TSH bound to the aptamer to form a stable hairpin structure, the distance between UCNPs and TAMRA was reduced, thus causing the fluorescence quenching of NaYF 4 : Yb, Er, so that the TSH can be detected rapidly in serum.

Analysis of Microorganism
It detects microorganisms such as fungi, mycotic, pathogens, viruses, etc., that utilize electrostatic interactions between UCNPs and microorganisms and unique fluorescence properties of UCNPs. This chapter's content lies in elaborating the application of upconversion fluorescence analysis in the biological context. However, the collation found the detection of microorganisms in this section, and it has a pattern with the analysis of microorganisms in the food context. Then, in this section, a complete description of the UCNPs is applied to the analysis and detection of microorganisms. Chapter 5 will not be repeated. The specific content is organized as follows.
There are five patterns of microbial detection: (i) the UCNPs modified with antibodies to capture antigens assembled by magnetic nanoparticles (MNPs) or other analogs and utilizing the luminescence properties of UCNPs; (ii) the energy donor is composed of UCNPs attaching to antibodies or aptamers, and the energy receptor consisted of AuNPs or other nanoparticles or fluorescent quenchants combined with antigens or cDNA; (iii) the UCNPs as a carrier were used on the electrochemical immune analysis, and the lateral flow immune paper-based for detection is derived, which is based on the immune analysis; (iv) utilizing UCNPs luminescent signal can be adjustable to detect microbes through grafting optical fiber material or mesoporous-doped material; (v) combining with double or more modes for rapid real-time detection.

Analysis of Inorganic Substances in Biological Samples
According to the current researchers' statistics of the research results, the UCNPs for the analysis of inorganic substances applied to biological materials can be divided into the following three categories: inorganic ions, reactive oxygen species, and gas molecules.

The UCNPs Analysis of Inorganic Ions in Biological Samples
Inorganic ions play a critical role in the process of life. Wei et al. [153] designed an ingenious FRET system in which Fe 3+ -responsive Nile red derivative (NRD) was used as an energy donor, and the PEGylated amphiphilic polymer-modified UCNPs was used as energy acceptor. In addition, most of the Fe 3+ selective probes are insoluble in water, so this structure solved this problem, and it is beneficial to the detection of Fe 3+ in vivo, and its application in imaging has been proved ( Figure 6B). Zhao et al. [154] utilized the Fenton reaction, the hydroxyl group produced when Fe 2+ and hydrogen peroxide exists in vivo reacts with IR-808, and then the fluorescence resonance particles were increased to quantify Fe 2+ accurately. Jiang et al. [155] improved the method of detecting Fe 2+ in serum by designing a fluorescence sensor based on FRET between NaYF 4 : Yb, Tm and MnO 2 . After the addition of Fe 2+ , MnO 2 was reduced to Mn 2+ , thus restoring the fluorescence of UCNPs. Mercury ion is a potent neurotoxin that accumulates in human bodies and causes severe nervous system damage.
Then, Huang et al. [156] utilized T-Hg 2+ -T base pairs to stabilize the two thymine (T) mismatched DNA to design DNA-functionalized upconversion nanoparticles. After adding Hg 2+ , the fluorescence of DNA-UCNPs will be quenched.
Compared to these two methods, the structure of the former fluorescence probe is simpler and easier to operate, while the latter is significantly more complex. However, the latter has a broader range of applications. For example, it can be applied to the environment in tap water or human urine, while the former is used for cellular environmental analysis. Additionally, readers can choose appropriately according to their needs. The detection range of the former (0-8 µmol L −1 ) is not as wide as that of the latter (10-10 4 nmol L −1 ).
Potassium ions are electrolytes essential for homeostasis in the body. Real-time tracking of potassium concentrations in body fluids can provide important information for biomedical diagnosis, assessment of therapeutic interventions and optimization of exercise performance [157,158]. Chen et al. combined NaYF 4 : Yb, Tm (U-Tm, blue emission) and NaYF 4 : Yb, Er (U-Er, green emission) UCNPs with AuNP quenchers to construct two DNA-assembled nanosensors for monitoring H + and K + in the lumen of lysosomes. The different DNA-based sensor is capable of imaging both H + and K + . The sensor can correlate the K + concentration and pH in the lumen of the lysosomes, probing during lysosomal acidification to answer important biochemical and cell biological questions [159].
Hao et al. [160] assembled a structure that analyzed ROS extensively, consisting of a UCNP core and a zeolitic imidazolate framework-8 (ZIF) shell encapsulated with chiral NiSx NPs. In vivo, H 2 O 2 was successfully monitored by proportional assembly signal to verify its potential. The emission peaks of UCNPs doped with different rare-earth ions are different, and this property was to design the ratio fluorescent probes. Cy808 dye was used to enhance the luminescence of UCNPs by Zou et al. [161], and the excitation light of 808 nanometers was reduced while the excitation light of 980 nm remained unchanged after the addition of ClO − , to realize the identification of ClO − , which was successfully applied in mice with high sensitivity and a detection limit of 3.6 nmol L −1 .
performance [157,158]. Chen et al. combined NaYF4: Yb, Tm (U-Tm, blue emission) and NaYF4: Yb, Er (U-Er, green emission) UCNPs with AuNP quenchers to construct two DNA-assembled nanosensors for monitoring H + and K + in the lumen of lysosomes. The different DNA-based sensor is capable of imaging both H + and K + . The sensor can correlate the K + concentration and pH in the lumen of the lysosomes, probing during lysosomal acidification to answer important biochemical and cell biological questions [159].  H 2 O 2 is one of the critical ROS molecules, which can provide very favorable evidence for significant diseases such as malignant tumor detection in vivo. Chen et al. [162] used an enzymatically controlled amplification strategy of circulating signals and designs colorimeter chains with acetylcholinesterase involved in forming H 2 O 2 and Fenton reactions to detect H 2 O 2 and glucose lactic and uric acid. This process can detect a variety of small molecules in vivo while analyzing and detecting H 2 O 2 , but the whole process for detecting H 2 O 2 is a little complicated. Singh et al. [163] synthesized an UCNPs embedded organometallic complex HNPs, NaYF 4 : Tm 3+ /Yb 3+ -Eu (TTA) 3 Phen (ETP), which has great sensitivity to H 2 O 2 and can be used many times without losing sensitivity. However, this framework may be more toxic to organisms. Wang et al. [164] designed a FRET system consists of an energy donor, a novel Nd 3+ -sensitized UCNPs and the energy receptor dicyanomethylene-4H-pyran (DCM)-H 2 O 2 ; utilizing the ratiometric fluorescence probe, the UCNPs luminescence (540 nm/660 nm) signal could visualize the H 2 O 2 level. Additionally, the LOD was quantified to be 0.168 µmol L −1 . This structure cannot cause an internal heat effect.

The UCNPs Analysis of Hydrogen Sulfide in Biological Samples
Hydrogen sulfide (H 2 S) is a gas signaling molecule used to monitor acute pancreatitis in organisms and colorectal cancer [165]. Chen et al. [166] designed a sensing platform consisting of NaGdF 4 : Yb, Er@NaGdF 4 : Yb, Nd and IR-783. The dye-sensitized UCNPs nanoprobe has a dual-function of enhancing upconversion luminescence efficiency and specific recognition of H 2 S, and the detection limit is as low as 34.17 nmol L −1 . Wang et al. [167] proposed poly (acrylic acid)-modified UCNPs assembled with cationic near-infrared cyanine chromophores (Cy 7 -Cl) to detect H 2 S in living cells and zebrafish, which can increase fluorescence of Cy 7 -UCNPs, and completed the imaging work in vivo. Liu et al. [168] took Prussian Blue (PB) as the responder of H 2 S, adding UCNPs performed by 5-nanometer lead envelopes. Employing the thickness of the lead envelope to detect H 2 S in the serum range, the deficiency of Wang et al. [167] organic dye with specific toxicity was improved during imaging and detection. It can not only possess remarkable H 2 S detection capacity, the LOD is 50 nmol L −1 , but was also feasible for H 2 S elimination by UC-PB, reducing acute pancreatitis-associated lung injury and thus having excellent therapeutic potential as a drug.

Others
Glucose is the energy source of living cells and the intermediate product of metabolism in the body, and the content of glucose in the body is the data source for the diagnosis of diabetes. This is because glucose oxidase catalyzes glucose to produce gluconate hydrogen peroxide, which is associated with hydrogen peroxide usually during glucose analysis. Chen et al. [162] made use of this principle coupled with hydrogen peroxide, which catalyzes the conversion of ferrous to trivalent iron, and the trivalent ferric acid complex covers the converted fluorescence to obtain the analysis of glucose content. The experimental results are available, and the LOD can reach 2.3 µmol L −1 . UCNPs can superiorly reflect the advantage of removing background fluorescence in detecting tiny molecule organisms such as urea. Long et al. [91] utilized IFE effective between oxidizing o-phenylenediamine and NaYF 4 : Yb 3+ , Tm 3+ , the low detection limit of uric acid is 6.7 µmol L −1 . While this complex procedure contains two oxidation processes, Zhou et al. [169] simplified the experiment by the process of adding Fe 2+ to the hydroxyl radical reaction product of the oxidation reaction of uric acid. Furthermore, the detection limit is also much lower than before, as low as 1.90 × 10 −3 µmol L −1 .
The mutagenic effects of drug residues on the hormonal action of organisms and bacterial resistance pose a continuous threat to the health of organisms. Furthermore, it has been a matter of immediate concern to medical experts in recent years. The determination of content of synthetic drug molecules in biological fluids has great significance in analytical biochemistry, clinical medical diagnosis, and local analysis or monitoring. The use of UCNPs for synthetic drug molecules sensing has attracted extensive interest because of their outstanding properties. The fluorescence of lanthanum (III) complex, produced by LRET from core-shell UCNPs, is sensitive to drug molecules. Hu et al. [58] utilized Yb 3+ -Yb 3+ energy migration was doping in NaGdF 4 : Yb 3+ , Er 3+ @NaYF 4 : Yb 3+ can enhance luminescence intensity, when adding doxorubicin to the solution, doxorubicin can quench UCNPs by LRET. Additionally, the doxorubicin concentration of 0.005 µg g −1 in the mice can be successfully detected through the upconversion fluorescent probe. According to a similar principle, Mo et al. [170] prepared NaYF 4 : Yb 3+ , Er 3+ , Nd 3+ @NaYF 4 : Nd 3+ and successfully detected epirubicin, the LOD is 0.05 µmol L −1 .
Alprenolol is a drug for hypertension, while on the other hand, it has been designated a forbidden drug by the International Olympic Committee, because of its improper use related to controlling physical activity to minimize the heart rate, coronary blood flow, etc. Thus, Lee et al. [171] designed amphiphilic functional UCNPs which are ultra-highly selec-tive for alprenolol. The electrostatic interaction of conjugated polythiophene functionalized NaLuF 4 : Yb, Er with alprenolol resulted in specific recognition in human urine and serum with detection limits as low as 0.22 nmol L −1 .
The fluorescence properties, nice biocompatibility, and low background fluorescence of UCNPs can be used to monitor nutrients in crops and provide reference information for economic decisions of nutrient management. Guist et al. [172] used UCNPs (NaYF 4 : Er 3+ , Yb 3+ ) and Graphene Oxide to detect Zn deficiency in crops. At the time, smartphone color recognition had been successfully applied in this technology, which can quickly analyze Zn deficiency in barley or other crops. While the presence of a certain amount of UCNPs in organisms is also associated with specific toxicity, Modlitbová et al. [173] studied radish (Raphanus sativus L.) and common duckweed (Lemna minor L.) as adsorbed water-soluble UCNPs, as well as the toxicity, and bioaccumulation in these plants of UCNPs. Additionally, the length of the root per plant and the length of the hypocotyl per plant after 72 h exposure were chosen as toxicity endpoints, whereby 100 mg mL −1 of UCNPs/SiO 2 -COOH was highly toxic.
On the other side, Popov, etc. [174] used fluorescence signals of the UCNPs in zebrafish and shrimps to quantitatively evaluate the temperature and pH of aquatic organisms' living environment in real time to determine the change in stress felt by organisms with the change in environment.

Analysis of Food Samples
Analysis of food sensing applications using UCNPs probes depends on several factors, including fluorescence, detection platform, and detection method. To achieve a specific and selective detection, UCNPs are functionalized with biological and chemical elements for target recognitions via typical antigen-antibody pairing, hybridization between complementary base pairs of nucleic acid, ionic interactions, etc. This chapter introduces the application of UCNPs in food analysis (milk, eggs, fruits, meat, drinking water), including residues of toxic and harmful substances, qualitative and quantitative analysis of harmful substances in food for humans, and the analytical application of enzymes and other active ingredients and summarizes the analytical profits in Table 6.
Food safety has always been an important issue related to human life safety, and the detection results of toxic and harmful substances residues in the diet are always an essential basis for food safety. After many experimental analyses on converting organophosphorus pesticides, nicotine pesticides, and other analytical applications, many researchers have obtained many research results. Organophosphorus pesticides (OPs) are widely used in agriculture because of their low persistence under natural conditions, easy synthesis, low cost, and high effectiveness for insect eradication. At the same time, they are neurotoxic due to their inhibition of acetylcholinesterase (AChE) in the central and peripheral nervous systems. Glyphosate is one of the OPs, Liu et al. [90] developed a colorimetric and fluorometric method based on a system composed of poly-ethylenimine-capped NaGdF 4 : Yb, Er, copper (II) ions, hydrogen peroxide, and 3,3 ,5,5 -tetramethylbenzidine. The UCNPs fluorescence of UCNPs can be quenched owing to the strong coordination between poly-ethylenimine and Cu (II) with the presence of glyphosate. So, it has good specificity. Fenitrothion [O, O-dimethyl O-(4-nitro-m-tolyl) phosphorothioate is also a broad-spectrum organophosphorus insecticide. The study of Yu et al. [175] was based on one immunochromatographic strip to detect 2,4-dichlorophenxyacetic acid and fenitrothion, utilizing specific recognition of anti-2,4-dichilorophenoxyactice acid immunoglobulin G (2,4-D-IgG) and rabbit antifenitrothion IgG combined with UCNPs medium to implement fluorescence detection. This method can realize real-time detection, which is easy to operate, while the preparation of rabbit antibodies remains to be commercialized.   [195] Neonicotinoid insecticides have persistence and high solubility, and they can affect the nervous system. Imidacloprid is a type of neonicotinoid insecticide that attracts numer-ous researchers to analyze its environmental residual. Si et al. [144] set a homogeneous immunoassay, and the analysis signal is derived from IFE between UCNPs and AuNPs. UCNPs are coupled to the antibody against imidacloprid, and AuNPs are used to label the antigen of imidacloprid. The competitive immunoreaction occurred between imidacloprid and antigen-AuNPs binding to antibody-UCNPs. If this method can be applied to polystyrene micro-well plates, the corresponding microplate readers should be developed to enable high-throughput screening. Sun et al. [145] successfully detected acetamiprid in rice, apple, pear, wheat, and cucumber using an acetamiprid aptamer-modified magnetic nanoparticle UCNPs fluorescent probe, and the detection limit is 0.65 µg L −1 . Yu et al. [146] studied that because antibodies are susceptible to interference by organic solvents and other components in food, and the chemical stability of molecular imprinting is well known. They studied UCNPs@SiO2-MIP to detect acetamiprid in apples and strawberries, and the LOD is 8.3 ng mL −1 .
In this review, the application of UCNPs in the detection of organic reagents in food in recent years is introduced in chronological order. Hu et al. [188] prepared polyethylene glycol hybrid ligand NaLuF 4 : Yb 3+ and Er 3+ , and determined Rhodenine B and sodium fluorescein content in living opaque fish according to the position and intensity of its emission peak and luminescence resonant energy transfer between the fluorescent materials. Rong et al. [196] prepared a sensing platform consists of PEI-NaYF 4 : Yb, Er and GSH coupled with RBD to detect acrylamide. This study's application can make food safety analysis faster and simpler. Wang et al. [197] determined the quality of red wine by analyzing the tannic acid content in red wine. They designed three different conjugated structures UCNPs: UCNPs@GDN, UCNPs@SO 3 H, UCNPs@PO(OH) 2 were used to verify the efficiency of electron transfer between the material and tannic acid, and the results after transfer, respectively, through single, pairwise mixing and three mixed experiments to judge tannic acid. The content of tannic acid was also determined. In addition, the array calculation method successfully identified a variety of red wines. Hu et al. [189] made an immune chromatography test paper tag (antibody colloidal gold-quantum dots-UCNPs) for the visual judgment of milk, with different concentrations of norfloxacin, in the analysis of the sensitivity of a variety of fluorescent materials added, which can also compare quantum dots and the conversion of functional strength. The experiments show that quantum dots are the most sensitive of norfloxacin, while the UCNPs provide the most accurate analysis results in the milk. In order to detect heterocyclic aromatic amine carcinogens in fried meat products, Huang et al. [198] used NaYF 4 : Yb, Er grafted with anti-2-amino-3-methylimidazo [4, 5-f] quinoline (IQ) antibodies as fluorescent sensor through immunofluorescence sensing to detect IQ, and the LOD was as low as 7 ng L −1 .
Currently, UCNPs are being widely used to detect active components such as enzymes in organisms, which is a mighty popular application. However, it is difficult to detect the enzyme in food because detection becomes difficult with changes in the environment. Detection becomes difficult. del Barrio et al. [199] successfully detected glucose oxidase in fruit juice using near-infrared-excited Tm 3+ and Yb 3+ to prepare fluorohemiflurate and pyrene fluorescein-conjugated graphene oxide mixed and coated on glass casting. This material has upconversion properties which should be more widely used in many more studies.
Inorganic ion residues in food can lead to reduced immunity and imbalance in trace element levels, etc. Qualitative and quantitative analysis of metal ions and inorganic salts in food is also particularly important. Zhang et al. [191] planed a FRET system including NaYF 4 @NaYF 4 : Er 3+ /Yb 3+ @NaYF 4 , which exhibit characteristic green emissions UCNPs and rhodamine B hydrazide (RBH), which is nonfluorescent. Adding Cu 2+ to this system, a luminescence decrease in the nanoparticles occurs due to the energy transfer from UCNPs to RBH. Moreover, the structure design is in favor of improving sensitivity for Cu 2+ detection and enhancing UCL detection signal. Chen et al. [57] used aptamer and FRET immunological recognition between NaYF 4 : Gd, Yb, Ho, and magnetic Fe 3 O 4modified (MNPs) GNPs, which generates a specific response to Pb 2+ for dual recognition.
It is sensitive to obtaining lead ions' content in tea, and the detection limit is as low as 5.7 nmol L −1 .
Fluoride ion is helpful for dental care and treatment of osteoporosis, while intaking excessively has negative active impacts on human health. Liu et al. [194] utilized IFE between amino-modified Yb 3+ , Er 3+ , Tm 3+ , co-doped NaYF 4 , and curcumin-F − complex. The addition of F − could cause a bathochromic shift in the maximum UV absorption peak of curcumin occurs and leads to the IFE-quenched fluorescence of UCNPs the large absorption bathochromic shift. Additionally, this results in a color change, which can be observed as well. This sensor has a fabulous response to F − and has been successfully applied to milk products. It has an outstanding application prospect.

Analysis of Medical Sample
Synthetic drug molecules have played a decisive role in the history of human health. However, the residues of drugs in treating diseases and the number of residues should be of immediate concern. The application of the UCNPs in drug analysis has also been part of the research. Of course, if this fluorescence sensing platform can be combined with the real-time monitoring of people's lives during the administration of drugs, it will be a future direction for the development of medicine and fluorescence analysis.
The fluorescence of lanthanum (III) complexes produced by LRET from core-shell UCNPs is sensitive to drug molecules. Zhang et al. [65] imported SYBR Green-I as an energy donor to establish an LRET system with UCNPs to detect oxytetracycline. On the one hand, SYBR Green-I shows very week fluorescence unbinding with dsDNA. On the other hand, oxytetracycline stops combining with dsDNA and SYBR Green-I, then recovering UCNPs luminescence. This sensor is susceptible to LOD as low as 0.054 ng mL −1 ( Figure 7A).
UCNPs are used to combine with precious metals such as gold and silver nanoparticles using Surface-enhanced Raman scattering (SERS) technology. At the same time, the SERS enhancement degree has extreme dependence on the excitation wavelength, and long-time exposure to the object under test under the irradiation of ultraviolet, visible laser power loss will have a certain degree. The near-infrared excitation of UCNPs will help it. Ma et al. [200] made NaYF 4 : Yb, Er@SiO 2 @Ag, which significantly improved the Raman enhancement ability of silver nanoparticles. Additionally, it was used to detect methylamphetamine successfully. It provides a new method for drug analysis.
In order to use quick and convenient fluorescence spectroscopy to analyze drugs, molecularly imprinted polymers (MIPs) are always used in combination with up-conversion nanoparticles with low background fluorescence due to their excellent selectivity. Tang et al. [60] synthesized layer-by-layer compounds of MIP and Fe 3 O 4 nanoparticles on NaYF 4 : Yb 3+ , Er 3+ particles (MUCPs@MIP). They tested multiple drugs by using different quinolones as templates. Moreover, core-shell MIPs are designed to overcome some drawbacks such as the nonuniform distribution of binding sites, uncompleted removal of template or leakage, slow mass transfer, irregular morphology, etc. They are also designed to enhance recognition efficiency ( Figure 7B).
Immunofluorescence analysis is also a commonly used analytical method, Zhang et al. [201] designed a lateral flow immunochromatographic and UCNPs to detect triamcinolone acetonide (TCA) cosmetics. Immunochromatography combined with fluorescence spectrum essentially solves the problems of narrow linear range, low sensitivity, and rough quantitative results. Additionally, the LOD for TCA in a cosmetic sample is 20 µg kg −1 .
Drug anti-counterfeiting is an innovation in the application of UCNPs in medical science; a smart phone identification technology based on an upconversion fluorescent 3D quick response code for tracking and anti-counterfeiting of a drug was developed by You et al. [73]. They were resolving some drawbacks in existing anti-counterfeit technology such as high cost, complex fabrication process, and sophisticated operation as well. Multilayer inkjet printing and segmentation will also increase the amount of information stored per unit area. QR contains drug information also. Therefore, an upconversion fluorescent-based 3D QR code is promising as a powerful tool for drug anti-counterfeiting. Immunofluorescence analysis is also a commonly used analytical method, Zhang et al. [201] designed a lateral flow immunochromatographic and UCNPs to detect triamcinolone acetonide (TCA) cosmetics. Immunochromatography combined with fluorescence spectrum essentially solves the problems of narrow linear range, low sensitivity, and rough quantitative results. Additionally, the LOD for TCA in a cosmetic sample is 20 μg kg −1 .
Drug anti-counterfeiting is an innovation in the application of UCNPs in medical science; a smart phone identification technology based on an upconversion fluorescent 3D quick response code for tracking and anti-counterfeiting of a drug was developed by You et al. [73]. They were resolving some drawbacks in existing anti-counterfeit technology such as high cost, complex fabrication process, and sophisticated operation as well. Multilayer inkjet printing and segmentation will also increase the amount of information stored per unit area. QR contains drug information also. Therefore, an upconversion fluorescent-based 3D QR code is promising as a powerful tool for drug anti-counterfeiting.

Conclusions and Perspectives
Basing on the special fluorescent properties of the UCNPs, the progress of research on one synthesis and analysis application of the UCNPs was reported in this review. The applications of UCNPs probes for analytical detection in environmental science, bioscience, food science, and medical science were summarized.
The application of the UCNPs in the field of analysis had attracted the attention of more and more researchers. Additionally, future research will focus on how to better utilize the excellent properties of the UCNPs in anticipation of solving the applications that have emerged, such as its weak detection signal, weak specificity, low detection range, and it not being widely used for real-time detection problems: I. Different testing environments set different conditions for researchers, affecting the performance of UCNPs applications. So, the improvement in the luminescence efficiency of UCNPs according to the different analytical environments is a question worthy of deep pondering.
II. Designing practical UCNPs analysis platforms for different target analytes remains one of the challenges of applied research: (i) Depending on the type of substance to be measured, such as inorganic ions, small organic molecules, biological macromolecules, etc., the design of the UCNPs analysis platform with high matching to the properties of the substance to be measured to improve the selectivity is a challenge to be overcome in future integrated substance analysis. (ii) The study of easy functionalization of the UCNPs has already been applied in the field of analysis. In the following research to take more targeted functionalization of the UCNPs. According to the nature of the substances to be measured, the scope of application of the UCNPs in analytical chemistry becomes broader. Additionally, it will become another hot issue in the field of the UCNPs analysis in the future.
III. From the applicated materials, test methods, analysis conditions, test environment, and other aspects of the study on the impact of various factors on the test results, dedication to improving the efficiency of the analysis is also the future of the analysis process, thus requiring researchers to explore the direction of their efforts.
Based on the many desirable properties of the UCNPs mentioned in the paper and the wide range of applications of the UCNPs in the analytical field, they will essentially solve most of the challenging problems faced in today's applications as the research progresses.