Gracilis is the only hip adductor that can flex the knee.
It often gets short after a knee replacement surgery.
Quads glutes TFL and glute minimis are usually my go-to for knee pain but gracilis is usually part of the solution as well.
https://richardhazel.podia.com