The functional group in an alcohol is known as a hydroxyl (−OH) group. In ethers, (R−O−R′), the oxygen is attached to two alkyl groups (−R,−R′). The functional group in aldehydes (R−CHO) and ketones (R−CO−R′) is a carbonyl group. In aldehydes, the functional group is attached to at least (H−CHO, formaldehyde and CH3−CHO, ethanal) one hydrogen atom. The heteroatom in an amine (−NH2) is a nitrogen atom. The functional group of carboxylic acid is a −COOH group. In esters, a hydrocarbon group replaces a hydrogen atom in the carboxylic acid, whereas in amides and amine group replaces the −OH group of the acid.