What is the Definition of Foreshadowing?

Foreshadowing is to give an indication or suggestion beforehand. Foreshadowing is used mostly within literary works. When an author makes references to something that ‘foreshadows’ what will occur later in the book.