During an operation, the doctor usually gives their patient an anesthetic to minimize any feeling of pain.