Two organic compounds are described below.
Compound A is an aliphatic compound with a straight chain of four carbon atoms. It contains a chlorine atom attached to the second carbon atom and a hydroxyl group attached to the third carbon atom. The compound is saturated.
Compound B is an aromatic compound. It contains a benzene ring with a nitro group at position 3 and a carboxylic acid group at position 1.
(a) Describe the functional groups present in compound A and in compound B.
(b) Explain how the functional groups in compound A affect its boiling point and its solubility in water, compared to an alkane of similar molar mass.
(c) State the systematic IUPAC name of compound A and of compound B.