Sometimes there are pages that have substantially similar content (intentionally or unintentionally). Then Google needs to be briefed about the pages and it needs to be let known which page to prefer over others and which one to be given less importance.
Hence, a canonical tag needs to be attached to the page that is more important. This is what Canonical tag means.
I hope this helps!