What does the thermal energy of matter depend upon?

a
Mass, only
b
Number of particles, only
c
Mass, number of particles and temperature
d
Temperature, only

c

Mass, number of particles and temperature