What is the thermal energy of an object?

What is the thermal energy of an object?