Nanomaterials often exhibit distinct optical properties due to their size and the interaction of light with their surface electrons. For instance, gold nanoparticles can appear red or purple due to surface plasmon resonance, where conduction electrons on the surface oscillate in resonance with incident light.