These devices operate based on the principles of nanophotonics, a branch of nanotechnology that studies the behavior of light on the nanometer scale. At this scale, the interaction of light with matter can be significantly different from macroscopic interactions, allowing for the manipulation of light in novel ways.