Final answer:
Dorsal rami of spinal nerves contain both sensory and motor neurons, with sensory neuron cell bodies located in the dorsal root ganglia and motor neuron cell bodies situated in the ventral gray matter of the spinal cord.
Step-by-step explanation:
The dorsal rami of spinal nerves contain both sensory and motor neurons. This means that they carry information to the spinal cord from the sensory receptors in the skin, muscles, and sensory organs (afferent axons), and also send information from the spinal cord to the muscles or other effector organs (efferent axons). The cell bodies of the sensory neurons are located in the dorsal root ganglia, while the cell bodies of the motor neurons are found in the ventral portion of the spinal cord's gray matter. Furthermore, the dorsal root ganglion for each nerve is an enlargement of the spinal nerve, signifying the location of these sensory neuron cell bodies.