Gollum is entirely based on the notion of addiction. The way that the ring pervades him, makes him craving, lustful, depletes him physically, psychologically and mentally.
Gollum was so interesting to me because he's morally ambivalent, and I love the notion of a quest that is to lose something. Not to gain, but to get rid of something.