Two ears can discern the direction from which a sound originates, in a process called binaural localisation. This uses cues received by the ears:
Interaural intensity differences
Interaural arrival-time differences
The effects of the pinna (outer ears)
Diagrams from Chapter 6: Stereo Miking Techniques, Huber & Williams, Professional Microphone Techniques, Mix Books, 1998.