Dear student,
P is essential constituent of beer.
P = Ethanol C2H5OH
P on oxidation forms Q which is an important component in vinegar.
Q = Ethanoic acid CH3COOH
P reacts with Q in presence of concentrated sulphuric acid, forms R .
R = Ethyl ethanoate CH3COOC2H5
This is esterification reaction.
CH3COOH + C2H5OH CH3COOC2H5 + H2O
Regards