When a metal tip is brought very near to a metal or semiconducting surface , a voltage between the two can allow electrons to flow through the vacuum between them .
When a conducting tip is brought very near to the surface to be examined , a bias ( voltage difference ) applied between the two can allow electrons to tunnel through the vacuum between them .