In React, data usually flows from parent to child through props.
However, when your application grows and you need to pass data through multiple layers of components, it becomes messy — a problem known as prop drilling.
The Context API solves this by allowing you to share data globally across components without manually passing props at every level.
Think of it like a global store for data such as user information, theme settings, or authentication status.