Share state across the tree without prop drilling. Create a context, provide a value, and consume with useContext.
When you need to pass data (e.g. theme, user) from a top-level component down to a deep child, you end up passing props through every level — prop drilling. It’s verbose and couples every intermediate component to that data.
Context solves this: you provide a value at the top, and any descendant can consume it with useContext, without the middle components knowing.