Emotions can be regarded as automatic judgments about our environment. For instance, anger and fear promote defensive reactions (fight or flight in the face of a threat) to improve our chances of survival; lust fuels sexual activity; and pleasure provides positive reinforcement for evolutionary goals.
But these reflex judgments are not always accurate. For instance, social justice movements the world over have struggled to bring our unconscious inferences about gender or otherness into conscious consideration.