What does a spoiler in the back of the car do?

Do I really need a spoiler on my car? Besides the fact that some cars (not all, I'm afraid) look nicer with a spoiler, what does it really do and does it work? Is it worth paying extra to have one on my car?
18 answers 18