The study of mental processes like learning, memory, attention, and perception, and how they relate to mental disorders.