Nerve cells in the brain and spinal cord (neurons) are connected to other parts of the body by nerve fibers-long,thin extensions of cells residing in the brain or spinal cord and carrying electrical impulses that stimulate targeted cells to perform specific functions.