theory of mind

The ability to understand someone else’s behavior as being driven by a mind like your own, but with a different perspective, interests, and needs.