A socket wrench is a sort of spanner that turns a fastener, usually in the form of a nut or bolt, using a closed socket format as opposed to an open wrench or spanner. The ratcheting socket wrench, often known as a ratchet, is the most widely used type.