Sympathy is the perception of, understanding of, and reaction to the distress or need of another life form.
According to philosopher David Hume, this sympathetic concern is driven by a switch in viewpoint from a personal perspective to the perspective of another group or individual who is in need. From Wikipedia