Laravel Routing provide all requests are linked with the routes.
The routes/web.php file defines routes that are for your web pages.
These routes are assigned the web middleware group, which provides features like session state and CSRF protection.
The routes in routes/api.php are stateless and are assigned the api middleware group.
Redirect Routes used for a route that redirects from one URI to another URI.
you can use the Route::redirect method.
View Routes used to return a view.
you may use the Route::view method.