Cognitive psychology is the study of how people think, perceive, learn, remember, and solve problems. It has roots in both rationalism, which emphasizes logic and reasoning, and empiricism, which focuses on experience and observation. Early approaches included structuralism, functionalism, and associationism. Behaviorism then dominated but was later supplemented by cognitivism, which focuses on mental processes and representations. Modern cognitive psychology uses diverse methods like experiments, case studies, and computer simulations to understand phenomena like attention, memory, decision-making, language, and problem-solving.