Serotonin is evolutionarily conserved and appears across the animal kingdom. It is seen in insect processes in roles similar to in the human central nervous system, such as memory, appetite, sleep, and behavior. Locust swarming is mediated by serotonin, by transforming social preference from aversion to a gregarious state that enables coherent groups. Learning in flies and honeybees is affected by the presence of serotonin. Insect 5-HT receptors have similar sequences to the vertebrate versions, but pharmacological differences have been seen. Invertebrate drug response has been far less characterized than mammalian pharmacology and the potential for species selective insecticides has been discussed.