Final answer:
Spinal nerves contain both sensory and motor axons and are responsible for transmitting sensory and motor information between the spinal cord and the rest of the body.
Step-by-step explanation:
Spinal nerves transmit sensory and motor information between the spinal cord and the rest of the body. Each of the 31 spinal nerves (in humans) contains both sensory and motor axons. The sensory neuron cell bodies are grouped in structures called dorsal root ganglia, while the motor neurons have cell bodies in the ventral gray matter of the spinal cord. The sensory axons enter the spinal cord through the dorsal nerve root, while the motor fibers emerge as the ventral nerve root.