Covalent compounds are usually composed of non-metal elements. These elements share electrons in order to form stable molecules. For example, in the covalent compound water (H2O), two hydrogen atoms share electrons with one oxygen atom to form a stable molecule.