An anesthesiologist provides pain relief, administers anesthesia, and maintains a patient's vital signs during surgery.