Analyze the reaction given above and identify 'X' from the following options.
CH3CH2OH(aq)+Xacid−−→CH3CH2COOCH2CH3(aq)+H2O(aq)
CH3CH2OH (aq)+CH3CH2COOH (aq)→CH3CH2COOCH2CH3 (aq)+H2O(aq)
Therefore, the compound X is propanoic acid CH3CH2COOH which belongs to the family of carboxylic acids.