More broadly, a major function of memory in humans and other animals is to help ensure that our behavior fits the present situation and that we can adjust it based on experience. What is encoding?