The study of the brain's mechanisms for cognitive processes such as attention, memory, perception, and reasoning.