In a study at the University of California Los Angles, they found that when a person is excluded from a social activity pain is registered in the brain. The rejection was registered in the anterior cingulate cortex, the same area of the brain that responds to physical pain.
http://www.thebostonchannel.com/health/2545570/detail.html?treets=bos&tml=bos_health&ts=T&tmi=bos_health_1_12150010102003
http://www.thebostonchannel.com/health/2545570/detail.html?treets=bos&tml=bos_health&ts=T&tmi=bos_health_1_12150010102003