PNS is of two types:
Somatic nervous system: It is associated with the voluntary actions i.e it transmits messages from voluntary organs to brain and then back to them.
Autonomic nervous system: It is associated with the involuntary organs like visceral organs (internal organs- heart, lungs, stomach etc.). It transmits messages from these organs to brain and from brain back to these organs.