In a reflex arc, like the knee-jerk reflex, a stimulus, such as a hammer hitting the knee, is detected by sense organs in the peripheral nervous system, which conveys a message along a sensory neuron. The message reaches the central nervous system where it connects with a relay neuron. This then transfers the message to a motor neuron. This then carries the message to an effector such as a muscle, which causes the muscle to contract and, hence, the knee to move or jerk.