It's used to fund the BBC. The other channels are all advertisment funded whilst the BBC channels don't have any adverts.
You still have to pay it even if you've got cable/satelite. I think a guy few years back managed to avoid the licensing fee because he only wanted to watch videos and had all of the tuners removed. They took him to court for it but he won.