An alcohol swab is used to disinfect the skin before injections or minor procedures to reduce the risk of infection.