UNC nuts refer to the UNC thread, Unified National Course, which is a standard thread form used for fasteners in the United States, and are used in applications within machinery for automotive, engineering, and manufacturing. They are used to secure objects together by matching with the corresponding UNC bolt or screw.
UNF (Unified National Fine) hex nuts are six-sided fasteners with fine threads, offering superior clamping force, higher vibration resistance, and better adjustments compared to coarse (UNC) threads

Advantages:
UNC: Easier to assemble/disassemble, less prone to galling, and better for in-field repairs.
UNF: Better thread engagement in thin-walled materials, higher tensile strength, and superior locking torque
UNC threads are more rugged and less likely to be damaged during handling, while UNF threads can be delicate but offer a more secure, locked fit