particles moving around and bumping into each other was suggested by people like Daniel Bernoulli and Mikhail Lomonosov in the mid 1700s, but it wasn't until the late 1800s that it was finally formalised by Boltzmann, Gibbs, Maxwell and others. And honestly,
Temperature and the Sackur–Tetrode Equation