What does Foreshadowing Mean?

In a story foreshadowing is what gives the reader a clue that an event in the story is about to happen before it actually does. An example of this is ‘The sky grew dark and the clouds are rolling in’ this tell the reader that a storm may be approaching.