What is foreshadowing?
Foreshadowing is often a crucial form of exposition. At its most basic, it sets-up seemingly innocuous moments or plot details that get a significant pay-off later in the story. You may want to check out Chekhov’s Gun for further clarification.
Full blog post on foreshadowing here.