Psychology is a science of human behavior that studies the human mind and all the cognitive processes in it. For…