Searches for a better (more parsimonious) tree by swapping the relative positions of subtrees separated by one edge. At each inner edge (i.e. at non-leaf edges) three different topologies are possible.
Testing these 3 possible topologies and keeping the best of them, is called "Nearest Neighborhood Interchange" (NNI).