Cognitive psychology is a school of thought in psychology that examines internal mental processes such as problem solving, memory, and language.