SLMs play a crucial role in nanotechnology by enabling precise control over light at the nanoscale. They are used in techniques such as optical tweezing to manipulate nanoparticles, in super-resolution microscopy to observe structures beyond the diffraction limit, and in nanolithography for fabricating nanoscale patterns.