Covalent bond

A covalent bond is a chemical bond between two non-metal atoms. An example is water, where hydrogen (H) and oxygen (O) bond together to make (H2O). 

A full outer shell (or electron shell) usually has eight electrons, or two in the case of hydrogen or helium. Valence electrons are the electrons held comparatively loosely in the outer shell of the atom. (The structure of electron shells is determined by quantum mechanics.)

The number of electrons in an atom is decided by the number of protons in the atom. Electrons orbit atomic nuclei, and they are like fuzzy orbital paths around an atomic nucleus. The first layer has up to two electrons. The layers after that usually contain up to eight. Covalent bonds are formed by atoms sharing valence electrons.

If for example, an atom had nine electrons, the first two  orbit very close to the nucleus, the next seven  orbit a little farther away. The outer seven electrons  are less tightly held than the inner two electrons because they are further away from the positively charged nucleus. If this atom gets close to another atom, with a loosely held electron in its outer shell, a new orbital will become available to the loosely held electron. This new electron orbital is bound to both atomic nuclei and has a lower energy level than the original electron orbital. The electron can spontaneously jump to it and emit a photon with the excess energy. Now we have an electron orbiting both atoms which results in the atom that provided the electron having a small net positive charge and the other atom having a small net negative charge. The two atoms are now held together by the electromagnetic force of attraction between positive and negative charges. This is called a covalent bond. To break this bond needs the same amount of energy as was released when it was formed.

A water molecule consists of one oxygen atom and two hydrogen atoms held together by a covalent bond. In this case the oxygen atom shares one electron with each hydrogen atom. This means that the oxygen atoms has a small net positive charge and the hydrogen atom has a small net negative charge. As a result, the oxygen and hydrogen atoms are attracted to each other due to the electromagnetic force. Because of this the water molecule is a polar molecule: its charge is not evenly distributed.

Types of covalent bond
Atomic orbitals (except for s orbitals) make different types of covalent bonds: 
Sigma (σ) bonds are the strongest covalent bonds. They have head-on overlapping of orbitals on two different atoms. A single bond is usually a σ bond. 
Pi (π) bonds are weaker (and are due to lateral overlap between p (or d) orbitals). 
A double bond between two given atoms has one σ and one π bond, and 
a triple bond has one σ and two π bonds.

Covalent bonds are weaker than ionic bonds, and have a lower melting point. They are also generally poor conductors of electricity and heat.

Bond length 

In chemistry, bond length is the measure of the size of a covalent bond. Because molecules are very small, they are measured in picometers, or about one millionth of a billionth of a meter.

The chemistry of molecules is explained mostly by their bonds, and their bonds are caused by their structure of electrons.

Related pages 
Valency