Transferring or sharing electrons between atoms forms a covalent bond.
Covalent
bonding is when atoms share electrons. It is a chemical bond that involves the
sharing of electron pairs. These pairs are called bonding pairs. Examples of
compounds that has covalent bonds are CO2, organic compounds, lipids and
proteins.