This quote means that it is our imagination that helps us to understand how others feel, to have compassion (sympathy and understanding) for them, and to have positive feelings in difficult times. Imagination helps us to create images in our mind, which helps us understand the world around us and connect with other people. By using our imagination, we can gain insight into what others are feeling and make sure we are kind and understanding to others in need.