The the ventromedial prefrontal cortex (vmPFC) and the temporoparietal junction (TPJ) both play roles in this. Not a neuroscientist, just going on my own reading.