Explanation:
A stimulus is detected by a receptor and carried to CNS by the sensory (afferent) neuron.
In spinal cord, interneuron (associative neuron) relays the impulse.
Motor (efferent) neuron carries the command to the effector to produce response.