when a judge makes a decision in a case they set out their reasoning in a judgement, judgements usually contain an outline of the facts of the case, the reason for the decision, other things said and the decision itself
the legal reason for the decision is the part that can set a precedent that other courts must follow, this part of the judgement is known as the ratio decidendi, which is latin for the reason for deciding