The carbon dioxide molecule is formed from one carbon atom and two oxygens. As an element, carbononly has 4 outer shell electrons and oxygen 6. Double covalent bonds form between the atoms, wheretwo electrons from each atom are shared making 4 bonding electrons in total.