The nervous system is made up of the central nervous system (CNS) and peripheral nervous system (PNS). The CNS contains the brain and spinal cord, and receives and processes all sensory information. The brain is divided into three main parts and is responsible for controlling functions like temperature, appetite, and emotions. The PNS connects the CNS to the rest of the body and contains somatic and autonomic systems, with the autonomic system regulating involuntary functions and being divided into sympathetic and parasympathetic systems. The nervous system allows all parts of the body to communicate and respond to internal and external changes.