The main purpose is to identify any nascent organization of political opposition to the status quo so it can be destroyed in its infancy with a minimum amount of resources. It will be used to solve some crimes too but solving crimes still involves a lot of manpower (expensive) and if they solved crime people would be less supportive of expanding surveillance powers even further so you don't really want to do a great job at that.