# how is the techniqe of "foreshadowing" connected to prediction?

and what is the mean goal of using the forreshadowing?