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.
Sensory systems in fish
Most fish possess highly developed sense organs. Nearly all daylight fish have color vision that is at least as good as a human's (see vision in fishes). Many fish also have chemoreceptors that are responsible for extraordinary senses of taste and smell. Although they have ears, many fish may not hear very well. Most fish have sensitive receptors that form the lateral line system, which detects gentle currents and vibrations, and senses the motion of nearby fish and prey. Sharks can sense frequencies in the range of 25 to 50 Hz through their lateral line.