Teaching a model to mimic the step-by-step reasoning process of a teacher model or reference solution.