When atoms approach one another closely, the electron clouds interact with each other and with the nuclei. If this interaction is such that the total energy of the system is lowered, then the atoms bond together to form a molecule.
1789 -- raité élémentaire de chimie is a textbook written by Antoine Lavoisier published in 1789 and translated into English by Robert Kerr in 1790 under the title Elements of Chemistry