A ratchet wrench is primarily used to tighten or loosen screws quickly and easily. It also has a rotating head, which helps rotate the screw in the correct direction.