The process whereby we learn to predict when and what we might eat, when we are likely to face danger, and when we are likely to be safe. It is also integrally involved in the learning of new emotional reactions (e.g., fear or pleasure) to stimuli that have become associated with a significant event.