Nanoparticles can be used as sensors for various applications, including detection of biomolecules, gases, and contaminants.