Pawan Kumar Interview Question

How does a binary search algorithm work?