GIVING BRAINLIEST!!! DUE IN 30 MINUTES!

Please answer the following with 5-7 sentences.

What happens to temperature as energy is added to a substance that is changing state?