Evolution of nervous systems
Jellyfish, comb jellies, and related animals have diffuse nerve nets rather than a central nervous system. In most jellyfish the nerve net is spread more or less evenly across the body; in comb jellies it is concentrated near the mouth. The nerve nets consist of sensory neurons that pick up chemical, tactile, and visual signals, motor neurons that can activate contractions of the body wall, and intermediate neurons that detect patterns of activity in the sensory neurons and send signals to groups of motor neurons as a result. In some cases groups of intermediate neurons are clustered into discrete ganglia.
Pain in fish
Somatosensory evoked potentials (SEPs) are weak electric responses in the CNS following stimulation of peripheral sensory nerves. These further indicate there is a pathway from the peripheral nociceptors to higher brain regions. In goldfish, rainbow trout, Atlantic salmon ("Salmo salar") and Atlantic cod ("Gadus morhua"), it has been demonstrated that putatively non-noxious and noxious stimulation elicit SEPs in different brain regions, including the telencephalon which may mediate the co-ordination of pain information. Moreover, multiple functional magnetic resonance imaging (fMRI) studies with several species of fishes have shown that when suffering from putative pain, there is profound activity in the forebrain which is highly reminiscent of that observed in humans and would be taken as evidence of the experience of pain in mammals.