Follow below link to understand how React Context works: [React Context](https://reactjs.org/docs/context.html)