Light-responsive nanomaterials can change their behavior when exposed to specific wavelengths. This property is exploited in photodynamic therapy for cancer treatment, where light-activated nanoparticles generate reactive oxygen species to kill cancer cells. Additionally, light-induced changes in nanomaterial properties can be used in optoelectronic devices and data storage.