"Redirection 301 means that the page is moved permanently to a new location.
Redirection 302 means that the page is temporarily located somewhere else."
301 redirect is ideally used to ensure that the search engines as well as users land on the correct page and information
302 redirect’ is a temporary redirection to a new page for a limited time until removed.
In SEO, 301 redirection is the placement of a website on a new place permanently, while 302 redirection is the placement of a website on a new place for temporary purpose.
A 301 redirect is an indicator that the destination of the link has changed URL to a different URL, permanently.
302 can be used for geotargeting, for split testing, for some forms of user tracking, and for redirects that are meant to be temporary.