A pin (stimuli) is detected by a pain receptor in the skin
Sensory neuron sends electrical impulses to the spinal cord (coordinator)
Electrical impulse are passed on to an intermediate neuron in the spinal cord
Intermediate neuron connects to the motor neuron and passes the impulse on
The motor neuron carries the impulses to the muscle in the leg (effector)
Impulse causes the muscle (quads) to contract and pull leg up and away from sharp object (response)