My college honors thesis was on this exact topic: perspective-taking and cognition.
Walking in someone else's shoes eliminates bias, unleashes empathy, and rewires how we make decisions.
Highly recommend
One of the most valuable skills in life is being able to see another person's perspective.
If you're going to someone's house, think about how it might feel to be the host. If you're creating a product, spend as much time as possible thinking like the customer. If you're calling customer service, think about how it might feel to be on the other end of the conversation.
The more clearly you understand the viewpoint of your spouse or customer or coworker, the better positioned you are to find a solution.