Tell Google which version of the page is the real one.
The same page arrives at Google's crawler by many routes: with tracking parameters, with or without www, with or without a trailing slash, over http and https. Each is a separate URL. Without a canonical tag, the ranking splits between them; with one, every variant points at the same address.
The tag must be absolute — the full URL including the protocol — and it must be identical on every variant. This tool normalises yours: strips the query string and fragment, upgrades to https, and warns when the trailing slash does not match what your server actually serves.
Redirect when the old URL should not exist at all. Canonical when both versions must keep working — for example a tracking link that must still load the page.
It can, and Google honours it as a hint. Pointing at another site is how syndicated content tells Google where the original lives.
Google ignores both and picks its own. A canonical chain is treated the same way — always point straight at the final URL.