What is the difference between CNS and PNS?

CNS or Central Nervous System connects the brain and spinal cord sending messages to and form the brain to the spinal cord.

PNS or Peripheral Nervous System connects the cranial and spinal nerves relaying info to and from.