The two partners are kept together by a combination of their threads' friction, a slight stretch of the bolt, and compression of the parts. Nuts are most commonly hexagonal in shape. It is important to use the correct sized spanners to avoid, ‘rounding off,’ the nut.
eBay