Temperature is the primary determining factor for the thermodynamic state or phase of a material.
Normally we encounter three states of matter: solid, liquid, and gas.
Which phase occurs depends on the internal energy that arises from the motion of atoms and/or molecules in the system.
Temperature is a measure of the average
kinetic energy of the atoms and/or molecules that comprise the
system.