The nervous system controls and coordinates the body's activities. It has two main parts:
1. The central nervous system (CNS) consisting of the brain and spinal cord which acts as the control center.
2. The peripheral nervous system (PNS) consisting of nerves that connect the CNS to the rest of the body and allows communication.
The nervous system receives sensory input, integrates the information, and causes motor responses via output from the CNS to muscles and glands. It works through neurons, which are specialized cells that transmit electrochemical signals, and neurotransmitters which allow communication between neurons.