What does the thermal energy of matter depend upon?

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

d. Mass, number of particles and temperature.