Why was the 13th amendment passed?

I know that it abolished slavery but why did it have to be passed?

What do you think?

http://en.wikipedia.org/wiki/Thirteenth_Amendment_to_the_United_States_Constitution