The central nervous system consists of the brain and spinal cord. The brain is divided into four main parts - the cerebrum, diencephalon, cerebellum, and brain stem. The cerebrum controls central functions and is divided into lobes. The diencephalon regulates autonomic functions. The cerebellum coordinates movement. The brain stem connects the brain to the spinal cord and controls vital functions. The spinal cord relays messages between the brain and body and mediates reflexes.