The axon is a long slender fibre that carries nerve impulses, in the form of an electrical signal known as action potential, away from the cell body towards the axon terminals, where the neuron ends.
A stimulus such as a hammer hits the knee. This is detected by senseorgans in the peripheral nervous system which conveys a message along a sensory neuron. The message reaches the centralnervoussystem, 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 then causes the muscle to contract, hence, causes the knee to move or jerk.