Inside an aircraft wing
Remove the upper skin, compare 3 wing shapes, and move the leading-edge slat and trailing-edge flap.
Swept · flap 0° · slat retracted
A swept wing places its tip farther aft than its root. The long spars carry loads along the span; the ribs hold the airfoil shape. Flap and slat are stowed against the wing.
A wing’s cross-section is its airfoil, and the chord runs from leading edge to trailing edge. Its shape from above is the planform; sweep and taper describe different aspects of that shape.
Extending flaps and slats changes the airfoil shape and can increase wing area, helping an aircraft fly at lower speeds. Flaps also add drag.
This drawing shows the moving parts with simplified geometry. It doesn’t calculate lift, drag, or stall speed.
Further reading: NASA: wing geometry · NASA: flaps and slats