Kinetic theory of gases
James Clerk Maxwell worked on mathematical relationships describing how the molecules of a gas move randomly at different speeds and bounce off walls with perfect elasticity. He discovered that the distribution of molecular velocities could be linked to the temperature and that gases can exhibit statistically significant deviations from expected behavior. This indicated that gases could sometimes defy the second law of thermodynamics, challenging existing theories.