A parent or a guardian will be awarded custody of a child if the court deems it to be in the best interest of the child. Every case is determined by its own unique set of facts, but it is usually biological or adoptive parents that will gain custody of their child. In some cases, a third party, such as blood relatives like grandparents, aunts, and uncles, or stepparents can be given custody. The overall goal of the court in these cases is to find the best home for the child. In Ontario the courts are mandated to only consider he best interests of the child when making decisions affecting a child.