Who decides on a child's 'best interests'?

Who decides on a child's 'best interests'?