What is the purpose of the Stack Navigator in React Navigation?
The Stack Navigator in React Navigation is used to navigate between screens in a stack-based manner. It maintains a history of screens and allows users to move forward and backward through the navigation stack.