Bonding with oxygen or hydrogen atoms