Researchers have uncovered genes essential for learning, memory, aggression, and other complex behaviors originated around 650 million years ago. The study utilized computational methods to trace the evolutionary history of these genes involved in the production, modulation, and reception of monoamines like serotonin, dopamine, and adrenaline.