The medical specialty that is concerned with nervous system is neurology.