The scientific study of the behavior of individuals and of their mental processes.