What do thermometers actually detect about the moving particles that make up sample of matter?

the temperature of the moving particles in motion.