The beginning sentences are important parts of a text, because if written correctly, it can capture the reader's attention. The title is also something that can attract readers. The author can also use descriptive words to engage the reader into the story, and even be able to create images inside of their head.
This is kind of random but I hope it helps!