A pivot function takes an element from an array and places all lesser elements to the LEFT and greater elements to the RIGHT. A pivot function is essential in algorithms such as Quick Sort. This algorithm feels like a "heavy-lift" and is a little less intuitive than most. Keep working at it and it will make more sense!