The ability to make the connection between an event and its consequences — experts use the term associative learning — is a crucial skill for adapting to the environment. It has a huge impact on our mental health. A study shows that children of primary school age demonstrate the highest learning performance in this area. The results pave the way for a fresh perspective on associative learning disorders, which are linked to the development of mental illness later in life.