Nanoparticles are engineered at the molecular level to interact with specific biological targets. For example, gold nanoparticles can be functionalized with antibodies to detect antigens of viruses or bacteria. When these particles bind to their target, they produce a detectable signal, such as a change in color or fluorescence, which can be measured using various techniques.