The brain is connected to the nervous system the your body. The nervous system is made up of a bunch of nerves spread out throughout the body. The brain tells the nerves what to do and feel. For example, when you feel pain, it's the affected nerves sending a signal to your brain. The brain then sends a signal back as feeling pain. this happens almost instantly. Pain is caused when a nerve is irritated.