The study of the structure of the nervous system, including the brain, spinal cord, and peripheral nervous system.