Have a look at this fascinating talk on pain perception: