Exercise influences brain function through muscle tissue and nerve signals, enhancing communication between muscles and the brain. This interaction is supported by hormones like irisin and neurotransmitters that promote cognitive enhancement.