Sometimes people can apply to Immigration, Refugees and Citizenship Canada (IRCC) for permanent resident status based on what are called humanitarian and compassionate grounds.
The grounds, or reasons, for this kind of application can be almost anything that makes others feel compassion and want to help. For example, a reason people often use is that they would face hardship if they had to return to their home country.
An important factor is whether a child would be directly affected if the applicant had to return to their home country. This is because IRCC must consider what's in the child's best interests.