In amides, the carbonyl carbon is bonded to a nitrogen. The nitrogen in an amide can be bonded either to hydrogens, to carbons, or to both. ... Another way of thinking of an ester is that it is a carbonyl bonded to an alcohol. Thioesters are similar to esters, except a sulfur is in place of the oxygen.
Water, or H2O, is a compound composed of the elements hydrogen (H) and oxygen (O).