Sympathy is a feeling of pity or compassion for someone's misfortune, whereas empathy is understanding and sharing another's feelings as if they were one's own.