What constitutes the central nervous system the peripheral nervous system?

The central nervous system is composed of the brain and the spinal cord. The peripheral nervous system is composed of the autonomic nervous system and the somatic nervous system.