What is a story with a moral at the end?

A story with a moral at the end is when the end of a story teaches you an important life lesson.

Ex : The moral of the story the tortoise and the hare is that if you take things slow and steady you can get it done before or better than a person who goes fast and is arrogant.