Cognitive modeling is a computational approach used to simulate and explain complex cognitive processes such as perception, memory, and decision-making. It involves developing computer models that mimic these processes and can be used to test hypotheses about cognitive functioning.