What is the role of QR decomposition in LS analysis?

If you can, answer the question below: Write your answer in the comment box.
What is the role of QR decomposition in LS analysis?