The genes necessary for learning, memory, aggression and other complex behaviours appeared approximately 650 million years ago, according to a study from the University of Leicester. The study, published in Nature Communications, found that most of the genes involved in the production, detection and degradation of monoamines - serotonin, dopamine and adrenaline - emerged in animals called bilateriaans.