useRef

What is the primary purpose of the useRef hook in React?