A story, originally told in folklore, to warn its audience of a certain danger.
The act of giving a warning.