The most common hexagonal fastener with internal threads that screws on to the shank of a bolt or a hex cap screw. A hex nut is a type of hardware that fastens one item to another. Hex nuts have six sides and are used in conjunction with screws and bolts to hold items in place securely. Learn the different types of hex nuts, the advantages of this type of hardware, and potential problems when using them in a project.