Organic compounds are organized into families. The members of the simplest hydrocarbon family are referred to as alkanes and have only singly bonded carbon ( these can be represented as R–H where R represents a hydrocarbon group).
In other hydrocarbon families at least one pair of carbons is joined by a multiple bond. This is the reactive site in the molecule and is known as the functional group.
The general formula of members of other families is shown below. These have functional groups containing atoms other than C and H.
The
carbonyl group (C=O) is a common structural element.

(RCOR)
ketone

(RCHO)
aldehyde
R = H or hydrocarbon for alkenes, alkynes, carboxylic acids, amides
Otherwise R = hydrocarbon group 
(RCO
2H)
carboxylic acid

(RCO
2R)
ester

(RCONH
2)
amide
R–X
X=Cl, Br, I
haloalkane