The technique relies on the unique optical properties of nanoparticles, such as quantum dots, fluorescent dyes, and upconversion nanoparticles. These materials can be excited by different wavelengths of light and emit fluorescence in multiple colors. By tagging different biological or material components with these nanoparticles, it is possible to visualize them distinctly under a microscope.