Partial list:
1) Used when small head diameter, light weight is wanted (ex aviation). 12 pt to provide adequate strength for torqueing. Disadvantage: No crescent wrenches
2) Most common, low cost, works for very many applications
3) [Assumed as socket head] various head styles available, ex socket, flat, button, etc. [In some uses any headed machine fastener is considered a cap screw]
4) Used in services where dis-assembly is frequent, ease of dis-assembly is important, (ex pipe flanges, heavy machine parts). Studs may remain in place, nuts only removed, etc.
Lots more...
Regards,
Mike
The problem with sloppy work is that the supply FAR EXCEEDS the demand