Nuts,hexagon-shaped fasteners, and bolts, long threaded metal pieces, both have threaded interiors for easy attachment. Together, they connect two objects.