STM uses a nanoscale probe to measure the topography and local electronic properties of a sample by scanning the probe over a surface. As the tip is scanned over the surface, a map of these properties can be built up with a resolution greatly exceeding that of an optical microscope, which allows truly nanoscale features to be visualized down to the level of single atoms.