Leg curl machines are designed to target the hamstrings. Contracting your legs at the knee is done using your hamstrings. When you are seated or lying it targets the hamstrings further.