As an international student studying in Canada, you are considered a temporary resident.
The Canadian government expects that you will leave Canada once you have completed your studies unless you apply for PR or a work permit.
International students in Ontario can apply for permanent residence under 3 programs:
You must meet the eligibility requirements to apply for these programs. Applicants are ranked through the Express Entry system. Extra points are awarded to graduates of Canadian college or university programs. Applicants who have the highest rankings in the Express Entry system are invited to apply for permanent residency.
If you are not selected to immigrate to Canada, you may want to apply for a post-graduation work permit after you finish your studies. This will allow you to stay in Canada and work legally. In some cases, being employed in certain occupations can increase your chances of having a successful immigration application.