Empathy is the capacity to recognize emotions that are being experienced by another sentient or fictional being. One may need to have a certain amount of empathy before being able to experience compassion.