Term:

Social empathy

Definition:

The ability to understand and share the feelings and perspectives of others within a social setting.