The masses of nerve tissue in the anterior end of organisms, such as in the cranium of humans. The brain integrates sensory information and directs motor responses; in higher vertebrates it is also the center of learning.