If instinct is level 0 response mode/feedback loop (strictly cause-effect) and intellect/cognition/self-awareness is level 2 (capable to plan and analyse), emotions are level 1.<p>Instinct is just good enough to survive, if you want more complex behaviours you need to use a dynamic memory that is able to learn new information, thus updating its behavioural sophistication. Emotions are just that - the emotional trigger is stimulus + "perceptual filter" => emotion.<p>Multiple possible emotions, multiplies the complexity of a possible response: for a given scenario, because of the perceptual filter, one can feel different things: Stimulus: "i see a friend" + perceptual filter "it is a pleasure to spend time with old friends" => joy, a deactivating emotion (meaning that the behaviour it determines is one of 'staying in place and savour). Anger? perceptual filter: "this one owes me money". Etc.<p>Basically, emotions are quick routines that tell you what to do in a given situation. instead of just cause - effect, there is a updatable memory that by learning can give way to more and more sophisticated behavioural responses. There is a part of cognition there, as much cognition as any animal that has emotions can deliver. The installation of new perceptual filters happens through learning, as much as a dog learning new tricks, for example.<p>But let's shift focus on how this memory works - the emotional memory is a somatic one, if you want. We never feel emotions, we feel feelings, somatic elements, if you want. Blood boiling? Fists clenched? Anger! that is a somatic memory. A feeling-state, if you want. The whole software works like this: image acquired through senses -> cognitive assessment = threat -> emotional response = fear. At this point 2 things happen as the emotion was triggered: 1 - you feel the feelings related to the emotion, somatic element = knot in the stomach -> you respond to this feeling state by running - this is 2 - the behavioural response.<p>How much the rest of the systems can affect our emotional responses? Just see how easy is to get angry when you're hungry (low blood sugar).<p>Fun fact: people who lost the ability to experience emotions also lost the ability to take decisions. Why? Because decisions are taken emotionally: the brain runs by us a series of scenarios and the one that makes us feel optimistic that we will succeed is then implemented. This happens very fast because the memory can retrieve very easily associated patterns. Also this is experienced in cases of "l'appel du vide." In our case, to no avail, because due to no emotional responses to the retrieved scenarios, this loop doesn't break. And yes, this means that our subconscious brains take the decisions way before we are aware of them.<p></rant>