How are the wing control surfaces configured for takeoff?
Based on environmental conditions (runway length, wind, temperature, etc.) a takeoff flap/slat setting is selected by the pilot prior to takeoff to provide for the required aircraft takeoff and climb profile.

Changing the shape of the wing by deploying takeoff flaps/slats allows the wing to generate greater lift at a slower speed.  Once the aircraft is airborne, as the airplane is accelerated, the flaps/slats are gradually retracted.