A compound X is added to ester after which ester is converted back to alcohol and a compound which is a salt of A and carboxylic acid. Identify X
NaOH
On treating with sodium hydroxide which is an alkali, the ester is converted back to alcohol and sodium salt of carboxylic acid. This reaction is known as saponification because it is used in the preparation of soap.
E.g.