There are more job-specific chemicals available, but the attraction of WD-40 is its versatility, making it useable for many tasks.
Here I'm using it as an adhesive remover along with a plastic-bladed razor. I also use it as a drive chain cleaner and degreaser for chain grease on the rear wheel and anywhere else that stuff goes. It will remove light surface rust, too. It could be used as an electrical contact treatment also, but I tend to use di-electric grease for that job.
I will always have a can or two within quick reach.