An anesthesiologist is a medical doctor specializing in anesthesia and perioperative care, ensuring patient safety and comfort during surgical procedures.