What do you mean by canonical URL?
The process is called as canonicalization, where the best and appropriate url gets selected. For example there are several choices as the following and the canonical url will represent the perfect one from the set. It determines according to the popular search result, which more visitors would like to see. This will be redirected to the homepage of the website.