Neurosurgery is a branch of medicine that deals with the surgical treatment of problems affecting the brain, spine, peripheral nerves and the arteries of the neck. Neurosurgeons train an average of six to seven years after finishing medical school.