A wrench is a tool used to grip and turn objects, typically with fixed jaws or an adjustable opening, while a socket wrench is a type of wrench that uses interchangeable sockets to fit different sizes of nuts and bolts. Socket wrenches are generally more versatile and efficient for working on a variety of fasteners compared to traditional wrenches.