Selection sort is a simple sorting algorithm that works by selecting the minimum value from the unsorted part of the array and swapping it with the first element of the unsorted part. 

The time complexity of selection sort is O(n^2).