How Emotion Detection Works?