Foreshadowing is a literary device in which a writer gives an advance hint of what is to come later in the story. Foreshadowing often appears at the beginning of a story, or a chapter, and helps the reader develop expectations about the coming events in a story. There are various ways to create foreshadowing.