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.
Starfish
While a starfish lacks a centralized brain, it has a complex nervous system with a nerve ring around the mouth and a radial nerve running along the ambulacral region of each arm parallel to the radial canal. The peripheral nerve system consists of two nerve nets: a sensory system in the epidermis and a motor system in the lining of the coelomic cavity. Neurons passing through the dermis connect the two. The ring nerves and radial nerves have sensory and motor components and coordinate the starfish's balance and directional systems. The sensory component receives input from the sensory organs while the motor nerves control the tube feet and musculature. The starfish does not have the capacity to plan its actions. If one arm detects an attractive odour, it becomes dominant and temporarily over-rides the other arms to initiate movement towards the prey. The mechanism for this is not fully understood.