How does a reverse phone search work?

A reverse phone search is the opposite to a normal search, where you would have the name and/or address of a person which would find you their number. A reverse search, you would have the number and be able to find out who the person was.