The interconnected networks of neurons that perform complex functions such as perception, cognition, and behavior.