What the quads are: anatomy
The quadriceps femoris is made of four parts: the rectus femoris and the vastus lateralis, medialis and intermedius. All four straighten the knee. The rectus femoris also lifts the thigh forward, so it works harder in leg extensions than in a deep squat.
The vastus lateralis shapes the outer sweep of the thigh, and the vastus medialis the visible teardrop above the knee. Both are loaded well by squats, the leg press and hack squats.