Explain the role of Provider and Connect in React Redux.
The Provider component is used to make the Redux store available to the entire React component tree. It is a higher-order component that wraps the entire application and makes the store available to any component that needs it.
The Connect function is used to connect a React component to the Redux store. It is a higher-order function that takes a component and returns a new component that is connected to the store. The connected component can then access the store state and dispatch actions to update the state.
