The <Switch> component is used to group multiple routes in React Router. It renders the first child <Route> or <Redirect> that matches the location.