What is the use of selection like blue box in pdf apps?
It is used for selecting content in the PDF. The selected content could then for example be copied to the clipboard.

Note that not all PDFs have content which can be copied in this way.