The nervous system is formed by the  brain, spinal cord, and peripheral nerves.