Temperature is just a measure of how HOT or COLD a substance is, which can be easily defined by a magnitude using a numerical value say “300 K” or “27°C”. Hence we can say it is a scalar quantity.
But the energy which transfer by virtue of a temperature difference is a vector quantity, as it has both magnitude and direction of motion (from High temperature to low temperature region).
I Think The answer is a I hope it helps My friend Message Me if I’m wrong and I’ll change My answer and fix it for you
I think you can google this because I really don’t know the answer I’m so sorry