Neurosurgery refers to the medical specialty focused on the surgical treatment of disorders affecting the nervous system, including the brain, spine, and peripheral nerves. In the context of cancer, neurosurgery often involves the removal or biopsy of brain tumors, spinal cord tumors, and management of metastatic disease.