A comparison using "like" or "as." It usually compares two dissimilar objects.
Where future events in a story, or sometimes the outcome, are suggested or hinted to by the author before they happen.
Literary devices and figurative language are tools that an author uses to draw in the reader. They help the reader to get a better understanding of what's happening in a story or a poem.