How does the brain work?