Sockets are used with both rachet handles and torque wrenches. A torque wrench is used to measure the torque applied to the nut or bolt accurately. Fasters like head bolts must be tightened to specified torques to avoid warping the head. Other fasteners like camshaft journals also should be torqued accurately so that they are tight enough but not too tight as mentioned.
There are many useful accessories for sockets such as extensions That allow you to reach into deep holes with your socket. Power bars are just long bars that allow you to really reef on a nut or bolt. These are most useful for loosening things but I also use them to tighten wheel lug nuts. You can also get Universal joints that combine with the extensions to allow you to turn the ratchet at a bit of an angle due to poor access to the nut.
2004 Rebel 250, 2003 BMW K1200GT (roadburner), 2004 BMW R1200GS(all purpose),
1973 Norton Interstate (in a box in the basement)
1968 Triumph Bonneville