The kneecap (patella) sits in the tendon of the quadriceps. By holding the tendon farther from the knee joint, it lengthens the lever arm, so the thigh muscle can straighten the leg with less force. This simple stick-and-string model shows the difference with and without it.
via Kneecap lever model | GIPHY