What's the point of leveling up in Minecraft?
Leveling up is currently used for 2 things: Score, and enchanting.
Score
1 orb == 1 point. This score is displayed upon death (and possibly game completion. I haven't gotten that far :P).
Enchanting
As you collect orbs, your experience bar fills. Everytime it gets completely full, it empties and you level up. In this screenshot, the player is level 1.
Once you have an enchantment table, you can spend your experience on enchantments. These give one of your tools a special ability, such as a chance to not take any wear each time you use it, and additional harvesting speed.
Enchantments cost 1 to 3 levels depending on the type of enchantment, but you must be a certain level to access each one. The highest tier appears to require you to be at or above level 30 to use, while still only costing 3 levels per enchantment.
One thing to note is that as of Release 1.8 enchantments also cost 1-3 pieces of Lapis Lazuli depending on the enchantment.
BEFORE RELEASE VERSION 1.8
Every enchantment has a cost paid in levels. I.e. Level 2 enchantments cost 2 levels of experience. In my screenshot above, the player can only buy level 1 enchantments, because he's only level 1. By default, you can get up to level 5 enchantments with an enchantment table. Placing bookshelves around your table will unlock higher level enchantments.
Your experience is reset when you die, although you do drop some experience orbs, which can be recovered like anything else you drop, assuming you find your death spot. The amount dropped is 7 times your level, up to 100, or enough to reach level 5.
As of 1.9-pre4, leveling up provides skill levels that you can spend on enchantments for your items.
And as of 1.9-pre2, your total experience acts as a way to keep score: one experience orb equals once point. Combined with hardcore mode (which forces a player to delete their world upon death), it introduces elements to bring Minecraft more in line with the Roguelike genre of games—including Nethack, Angband, and Dungeons of Dredmor—that generally report your score upon game completion (read: death).
In the future, Mojang has talking about how leveling up will eventually provide a way to increase skills. What that means and how it's accomplished is entirely speculatory at this point: the only thing known for sure is that gaining enough experience orbs to "level up" would award skill points that could be spent on "powering up abilities". In terms of what powering up abilities means, Notch said:
You could upgrade run speed, or like, maximum health, or uh, [inaudible]. Stuff like that.
It's unclear if this was an idea that's been replaced with enchanting or an alternative to enchanting that has yet to be implemented.
According to the behind the scenes video for the trailer (starting around 1:35) there is currently no use of experience.
However, a future release will use experience (for some currently unknown purpose). It wasn't obvious whether this would carryover, so I'd say it's 50-50.