They are guided by events in the outside world. An environmental stimulus—a shock to an animal’s tail—activates modulatory interneurons that release serotonin. The serotonin acts on the sensory neuron to increase cyclic AMP and to cause protein kinase A and MAP kinase to move to the nucleus and activate CREB. The activation of CREB, in turn, leads to the expression of genes that changes the function and the structure of the cell.

