Photosensitive nanomaterials work by interacting with light to alter their properties. For instance, in quantum dots, the absorption and emission of light depend on their size due to quantum confinement effects. In metallic nanoparticles, the electrons on the surface oscillate in resonance with light (a phenomenon known as surface plasmon resonance), leading to changes in optical properties.