A compound X is obtained by the reaction of alkaline KMnO3 with another compound Y followed by acidification. Compound X also reacts with compound Y in presence of few drops of H2SO4 to form a sweet smelling compound Z. The compound X, Y and Z are respectively.