I mean, that we can define mathematically the temperature [itex]T[/itex] as the partial derivative of the internal energy with respect to change of entropy at constant volume and particle number.
[itex]T\equiv (\frac{\partial U}{\partial S})_{V,N}[/itex]
That the temperature happens to be proportional to the kinetic energy of particularly well-behaved (ideal) gases is a convenient coincidence, but the relationship between energy and temperature can be greatly different for other systems (i.e. the energy of bodies emitting thermal (blackbody) radiation).
Where [itex]U[/itex] is the internal energy, [itex]P[/itex] is pressure, [itex]V[/itex] is volume, [itex]N[/itex] is the number of particles, and [itex]\mu[/itex] is the chemical potential, the first law of thermodynamics (conservation of energy) can be written as:
[itex]dU= -PdV +TdS +\mu dN[/itex]
the temperature in this picture is defined as
[itex]T\equiv (\frac{\partial U}{\partial S})_{V,N}[/itex]
This isn't the only way to express the temperature, because instead of talking about our system in terms of the internal energy [itex]U(S,V,N)[/itex], we could express our system in terms of the Helmholtz free energy [itex]F(T,V,N)[/itex], the enthalpy [itex]H(S,P,N)[/itex], or the Gibbs free energy [itex]G(T,P,N)[/itex], and each of these pictures can be remarkably convenient in certain situations.