The knee-jerk reflex works to quickly straighted your leg if the body detects your quadriceps is suddenly stretched. It helps to maintain posture and balance. For example, if your knees buckle after landing from a jump, the relfex causes your quadriceps to contract and keep you upright.