Using Emotion To Make Villains Memorable

Have you ever wanted to save a bad guy because you felt for him? Maybe his backstory made you sympathetic or you could understand why he made certain decisions.