Let's go straight: everything that is not your spinal cord and what you have inside your head is the peripheral nervous system. Where the nerves that branch away from the spinal cord are very important and whose function is to be a communication path in two directions: on the one hand they carry information from the nerves to the spinal cord and on the other hand they transmit the instructions sent from the central nervous system.
But it is important to know that the peripheral system is not only like train tracks where messages go in one direction or another: there are also intermediate train stations. There are ganglia, which are basically groups of nerve cells which allow a very simple, but fast, regulation at the local level. That is why in many cases these nodes are attached to the organs or very close to them.
You can see all the chapters of the Neuropill series by entering here
About Neuropills:
Created, directed and presented by Pablo Barrecheguren (@pjbarrecheguren), Neuropíldoras (2018) is a scientific dissemination project made by Big Van Ciencia in collaboration with Muy Interesante and carried out with the collaboration of the Spanish Foundation for Science and Technology – Ministry of Science, Innovation and Universities (FECYT).