It's all based on this - https://en.wikipedia.org/wiki/Bernoulli's_principle

A lower pressure exists above the wing (due to the increased velocity of the air passing over the top skin) which is what creates lift.
When more lift is required, the effective curvature is increased with the addition of slats, flaps and other high lift devices.