Why would you lowerr the flaps on a plane for takeoff?

I was flying today from California to washington and I looked out the window and the pilot lowered the flaps for takeoff...why would you do that?
11 answers 11