Binary search is a search algorithm that locates the middle element of a sorted array first, and determines if the element being search is in the first or second half of the array. This process of locating the middle element of subarrays continues until the element is found.