In vertebrates, the nervous system is segregated into the internal structure of the brain and spinal cord (together called the central nervous system, or CNS) and the routes of the nerves that connect to the rest of the body (known as the peripheral nervous system, or PNS). The delineation of distinct structures and regions of the nervous system has been critical in investigating how it works. For example, much of what neuroscientists have learned comes from observing how damage or "lesions" to specific brain areas affects behavior or other neural functions.