Difference between main and off DPS

I think DPS are more split into things like

Hitscan/Sniper

Projectile/Spam

Tank Buster

Utility

Flanker/Diver

Im sure there’s more but not all the dps fit neatly into those categories though such as bastion for example