A socket is a tool used for tightening or loosening nuts and bolts. It fits over the head of a fastener, allowing users to apply torque with a ratchet, wrench, or power tool. Sockets come in various sizes, both metric and imperial, to match different fastener types. They can be shallow or deep, depending on the depth of the fastener head, and are available in both standard and impact versions for heavy-duty applications. Sockets are essential in automotive repair, construction, and maintenance tasks, providing precision and ease in fastening work.