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.
Jellyfish
In many species of jellyfish, the rhopalia include ocelli, light-sensitive organs able to tell light from dark. These are generally pigment spot ocelli, which have some of their cells pigmented. The rhopalia are suspended on stalks with heavy crystals at one end, acting like gyroscopes to orient the eyes skyward. Certain jellyfish look upward at the mangrove canopy while making a daily migration from mangrove swamps into the open lagoon, where they feed, and back again.
Box jellyfish have more advanced vision than the other groups. Each individual has 24 eyes, two of which are capable of seeing colour, and four parallel information processing areas that act in competition, supposedly making them one of the few kinds of animal to have a 360-degree view of its environment.