Compound A C2H6O is ethanol.
Ethanol on oxidation gives compound B, which gives effervescence with sodium hydrogen carbonate. This implies it is corresponding carboxylic acid that is ethanoic acid or acetic acid.
reaction:
C2H5OH CH3COOH
Now ethanoic acid reacts with ethanol in presence of conc.H2SO4 to yield C, which has pleasant smell. This implies formation of ester that is ethyl acetate.
reaction:
C2H5OH + CH3COOH CH3COOC2H5