Given a scientific question, generate a correct answer to it.

What is the study of the energy transformations that occur in a collection of matter?
thermodynamics