Mapping the brain's surface using small electrodes to stimulate a nerve so its electrical response can be measured. By determining the role of specific nerves in a patient, this technique helps surgeons avoid damage to sensitive areas while operating on the brain.