When the airplane is taking off, the flaps help to produce more lift. Conversely, flaps allow for a steep but controllable angle during landing. During both, efficient use of flaps help to shorten the amount of runway length needed for takeoff and landing.