What is 301 redirect?
A 301 redirect is a process of reporting web browsers and search engines that a web page or site has been permanently moved to a new location.It includes the address to which the resource has been moved.
Very Important factors in SEO. It is known as a permanent redirection from its old URL to new originated URL. Sometimes if you remove your pages from the websites but the page is ranking on google so you don't want that your user is leaving your websites because of 404 error so you need to redirect that URL to its targeted URL. In sometimes people are redirecting their root domain to its new domains.