It is a literary technique that serves as a companion piece to the story within a story. The Arabian Nights is a collection of stories by Islamic authors. Though each collection features different stories, they are all centered around the frame story of Shahrayar, Shahzaman, and Scheherazade.