Identify A and B in the following sequence of reaction [2024]

(2)
On commercial scale benzaldehyde is manufactured by side chain chlorination of toluene followed by hydrolysis.
