This popular leg machine is adaptable to work different muscle groups. Using a narrow placement of your feet will engage your quads and using a wider feet placement will work your hamstrings and glutes.
To use the machine safely, do not extend your legs fully as this will transfer all the weight onto your knees. Keep your back against the back rest, feet firm and abs tight.