The hamstrings are located in the back of the thighs and consist of multiple muscles. They are connected from the end of the pelvis to the lower leg to help us extend our thighs backward as well as bend the knees. Wall slides are a great exercise that help strengthen the quadriceps, hamstrings, and glutes.