A canonical tag is placed in the source code of a page and a URL is added to this tag. This URL is recognized by search engines as a so-called canonical URL and thus informs the bot that the page with the canonical tag is not the actual page, but refers to the canonical URL. This prevents duplicate content.
Interested in other topics? Here we have a few more suitable explanations.