The binary search algorithm is used to find a value within an ordered list. The list must be ordered for this algorithm. The time complexity of this algorithm is O(log(n)) where n is the number of items in the list.
See the image below for an example of the data structure that could be used for a binary search. The image depicts a list of length 7 that is sorted.
For more information, please reference this link.