The nervous system consists of the brain, spinal cord, nerves, and sense organs. It receives information from inside and outside the body, responds to stimuli, and maintains homeostasis. The central nervous system contains the brain and spinal cord, which act as the control center. The peripheral nervous system branches out from the central nervous system via nerves that connect to the rest of the body in 43 pairs, controlling both voluntary and involuntary actions.