We can learn various things. For example, we might learn about the consequences of actions. If a character in a story is always dishonest and at the end they lose all their friends, we learn that dishonesty can lead to loneliness. Also, we can learn about different values like love, courage, and perseverance from how they play out in the end of a story.