One is practice in managing thoughts and feelings. If you just sit and breathe, you'll begin to notice how much the mind wanders, how much thoughts randomly arise and pinball around your head. Meditation gives you a lot of practice in not getting caught up in that.
The other is what I think of as self-instrumentation. As with any sort of performance tuning or debugging, the foundation is paying attention to what's actually going on. Meditation has greatly increased my ability to introspect, which helps me solve a lot of things that in the past were mysteries to me.
Is there any theory of how meditation offers evolutionary benefits?
The book Mindfulness in Plain English is a great introduction to mediation if you are curious.