Secondary weapons are good back-ups for missions, and also have custom mission tracks.

In main missions, you can switch to them for optimal performance by using the Weapon Selection button, in the lower left hand are of the screen. 

Assault Rifles, for instance, are great when facing groups of enemies that are closer than usual.
Shotguns are great for drones and jetpacks.