The function of the hamstrings comprises many crucial activities which we perform day in and day out. These include walking, running, jumping, and controlling some movement in the trunk. Most people, especially sportsmen, complain of a feeling of tightness in their hamstrings.