Both neurosurgeon and a neurologist specializes in the treatment of medical problems affecting the central nervous system, including the brain.