Why was the oil derrick built?

http://en.wikipedia.org/wiki/Derrick_(lifting_device)