Here's why:
* Atoms are the basic building blocks of matter. They consist of a nucleus (containing protons and neutrons) surrounded by electrons.
* Chemical bonds occur when atoms interact and share or transfer electrons.
* Covalent bonds are a type of chemical bond where atoms share electrons.
* Molecules are formed when two or more atoms are held together by covalent bonds.
So, the sharing of electrons between atoms leads to the formation of molecules.