forwardRef allows a component to expose its internal DOM ref to its parent. This is essential for reusable component libraries (like a button needing an accessible focus ref).