Cognitive psychology is the empirical study of mental processes that take place in our brain during specific behaviors and episodes throughout life.
Cognitive psychology and its study can be traced back to earlier attempts to organize studies in human behavior and mental processes that date back to the 18th century with the works of Berkeley and Hume. These are philosophers who intensified their search to establish clear patterns of behavior and cognition in humans.
In modern times we have been able to enhance the study of this field thanks to the works of Jean Piaget, BF Skinner, Wolfgang Kohler and Noam Chomsky. Therefore, there we cannot disport the entire charge of founding the science as a whole in one person. It has been a collective effort since centuries back into the field of psychology.