Most of it gets installed when you install third party software such as Kazaa, morpheus, bearshare, iMesh, etc. File sharing apps are notorius for installing unwanted spyware. Most of it is mainly targeted at advertising but I sure as hell don't want anyone tracking where I've been on the net...