Selection Sort is a simple comparison-based sorting algorithm. It works by repeatedly finding the smallest (or largest, depending on the sorting order) element from the unsorted portion of the list and swapping it with the first element of the unsorted portion.