What muscles are being used doing squats?

The squat works many muscles in the body in some form. The primary movers are the hamstrings, quads, and glutes. Assuming you are doing them correctly with your knees out and squatting below parallel, you should be using your hip adductors as well.