The wavelength of light determines its energy and its ability to interact with nanomaterials. Different wavelengths can induce different responses in nanomaterials. For instance, ultraviolet (UV) light is often used to excite electrons in semiconductor quantum dots, while infrared (IR) light is commonly employed in near-field scanning optical microscopy (NSOM) to achieve high-resolution imaging beyond the diffraction limit.