A carbonyl group comprises a carbon double-bonded to an oxygen atom. This is the functional group in aldehydes (where it is located terminally) and ketones (internally), and forms the basis for several other functional groups, such as those of carboxylic acids (alcohol-branched carboxyl group) and amides (NH-branched).