Hex is short for hexagonal, and hex sockets fit around six-sided nuts and bolts. A hex socket has six angled points connecting six straight edges. This enables it to fit perfectly over a six-sided bolt, so you can apply force to tighten or loosen it.