Hey Ziana,
The purpose of a text connection is to give the reader an opportunity to relate to the story or the text.
For example: After reading a book, I can be like, "Wow, this book or this passage in the book reminds me of my vacation to Hawaii, or it reminds me of my childhood. Got the idea? Great!
I hope this answer helps!