The STM tip is a sharp metallic needle, often made of tungsten or platinum-iridium, that scans the surface of a sample at a very close distance, typically on the order of a few angstroms. When a voltage is applied between the tip and the sample, electrons tunnel through the vacuum gap, creating a tunneling current. This current is extremely sensitive to the distance between the tip and the sample, allowing for atomic-scale resolution.