A compound X (having vinegar like smell) when treated with ethanol in presence of the acid Z, gives a compound Y which has a fruity smell. The reaction is:
According to the question,
Using the above hints, we can conclude that the reaction given here is the Eterification of an acid.
The chemical reaction is as shown in the below.
iii. The reaction given here is called Esterification of an acid.