The cognitive revolution was a paradigm shift in psychology that occurred in the 1950s and 1960s, moving the field away from the dominant behaviorist approach and towards the study of mental processes, such as perception, attention, memory, and problem-solving. This shift marked a significant change in how psychologists understood and investigated human behavior and cognition.