How can we tell which direction sound is coming from?
The head-related transfer function. Sound coming from front, and from back differ because of the human body's asymmetry in the vertical direction where the biaural cues such as inter-aural timing and intensity differences are identical. The shape of the ear, and body is necessary for this perception, but eventually, the signal must be analyzed by the brain for localization.