Little Red Riding Hood served as a warning to children not to go into the woods by themselves.
The fairy tale directly contrasts the safety of the village to danger of the forest where the wolf stalks Little Red.