Which of the following describes what happens when heat is added to a substance?