Emotions, like cognition more generally, mediate between perception and action.
for a particular emotion, we specify an abstract type of perceived eventualities that cause the emotion, and we specify an abstract class of typical responses.