When light interacts with a nanostructured metal, it can excite surface plasmons, leading to a phenomenon called Localized Surface Plasmon Resonance (LSPR). The resonance condition is highly sensitive to the local environment, such as the presence of biomolecules, gases, or changes in temperature. By measuring shifts in the resonance wavelength or intensity, one can infer the presence and concentration of target analytes.