What do the slats do on an airplane?

The slats stabilize the plane (Mc Doneld Douglas DC10 for example) for take off. There has been two crashes in the instance when the pilots forgot to extend their flaps and slats.