A 301 redirect is a permanent HTTP redirect: the URL is gone, the resource moved, and the client should update its bookmarks and index.
A 301 is a server response with Location header. The client follows the redirect and updates its cache for the new URL. Search engines transfer most ranking.