Emotions are the brain’s way of analyzing our social environment, and they have three key components: a feeling, a message, and an affect.