NSOM/SNOM is a scanning probe microscopy technique that can achieve higher resolution than far-field optical microscopy, around 50 nm. It works by exploiting evanescent waves from a sample that are detected using a probe placed within the near-field zone. PINEM is a related technique that uses ultrafast electron pulses synchronized with optical pulses to map photon-electron interactions and image plasmonic fields with high spatiotemporal resolution. Both techniques allow studying nanoscale optical and material properties with applications in nanotechnology, biophysics, and materials science.