The Melodic Minor - The WHY?!:

Well by now you might wonder why on Earth this whole ascending and descending business is going on (refer to the writeups above about how the melodic minor scale changes depending on if it's ascending or descending). It's the only scale used commonly to do such a whack thing and the reason is because people can't sing in key.

Let me explain.

Background. Back in the day, that being the 9th century AD or so, monks used to sing Gregorian chant, Anglican chant, and Plainsong in the monestaries in Europe. These songs had some semblances of rhythms, including a few rhythmic modes, but no meter as we understand it today. They also didn't have chords or harmony. Eventually, these chants were worked modes, based from Greek modes: Aeolian, MixoLydian, Lydian, HypoLydian, HyperPhrygian and HyperLydian. But I digress.
You and I take the idea for granted, but chords weren't really used at all back then, and when monks started getting spunky and singing a fourth away from the melody line, thereby implying chords, the concept of "tonic" was born. Also, the first Church Modes were born through music theory.
Tonic, in a musical sense, is the "most important note" in a song or key. It's what a song is "in" when I say that Mozart wrote something "in" B-flat. 4,999 out of 5,000 songs you've heard end on a tonic chord.

The Reason. Well, since chords and this tonic thing being a new to those monks, they had a tendancy to go sharp when they approached tonic at the top of a scale. When they descended the scale, they'd sing in tune again (being drawn to the dominant, fifth note of the scale). Sharps and flats had not yet been "invented" (or at least acknowledged) yet, and so "accidentals" - that being sharps, flats, naturals, double-flats, and double-sharps - were added to account for their errors. Today we still use the scale.

Reasons that are less amusing.
The melodic minor is able to have a leading tone in the melody by raising the 7th. This gives a nice 'push' up to the top note, tonic. Still, since you don't want an Augmented 2nd (1 1/2 steps) in the scale (which sounds Oriental), you raise the 6th as well. When descending the scale, it is not necessary and usually unwanted to have a half-step, because of it's strong tendency to go up.
So this is the scale used in the melody (hence the name) - it is modified depending on a scale. That is why you have the different forms of minor scales. Natural minor is the base form, and the harmonic tweaks with the 7th so that the V and vii chords are Major and diminished (instead of minor and minor, which would be unusual and strange to Western ears). Often, a voice (tenor, bass, soprano, alto, an instrument, whatever) will change minor modes depending on the situation. Still ... I can just picture those monks ... warbling .....

Reality check.
Really, though, the reason we have these three minor scales (Melodic, Harmonic, and Natural) is because people decided that way they sounded good and used it in their music. When a pattern is used frequently in real music, it is useful to pin it down as 'theory' and practice it as an exercise.

My old music theory teacher, Larry Solomon

Thanks to Footprints for making me put a bit of actual music theory into my writeup.
Any corrections are welcome - the exact chronology of the evolution of modes in relation to chords is something I'm still trying to figure out.