Foreshadowing is a literary device that hints at future events in a story without revealing too much, creating tension and intrigue. It can be direct or indirect, and is essential for engaging readers by planting questions that evoke anticipation and curiosity. Effective use of foreshadowing enhances storytelling across genres.