For above chemical reactions, identify the correct statement from the following.
Both compound ‘A’ and compound ‘B’ are diols
Both compound ‘A’ and compound ‘B’ are dicarboxylic acids.
Compound ‘A’ is diol and compound ‘B’ is dicarboxylic acid.
Compound ‘A’ is dicarboxylic acid and compound ‘B’ is diol.