Yes, both leg press and squats mainly focus on your quads, hamstrings and glutes. Usually in leg press we use low range of motion with maximum load and we use full range of motion in squat exercise.