A collection of neurons associated with the processing of sensory information. Found within the sensory portion of the spinal nerve, just as the nerve exits the spinal foramina.