The enteric nervous system consists of motor and sensory neurons in two interconnected plexuses in the walls of the gastrointestinal tract. These neurons control the coordinated contraction and relaxation of intestinal smooth muscle and regulate gastric secretion and blood flow.