The kneecap provides leverage for your muscles as they bend and straighten the leg. It also protects the knee joint.