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