It's a sorting algorithm that improves on bubble sort by exchanging elements that are far apart.