In Hydrodynamica (1738) Daniel Bernoulli laid the basis for the kinetic theory of gases, and applied the idea to explain Boyle's law.