The thermal energy of matter increases when ___.

A. Heat flows of the matter
B. The mass of the matter decreases
C. Heat flows into the matter
D. The temperature decreases