What is Foreshadowing?

Foreshadowing is done a lot on tv dramas. Like the director will drop little clues as to what is going to happen next. Or give you a quick clip of what will be happening next week.