This reaction was part of an organic scheme I was doing:
I thought that $\ce{POCl3}$ just converts the OH group into Cl, but looking at the chemical formula for A, I noticed that A has an extra carbon compared to the starting material.
It turns out that A is
I'm very confused as to how that aldehyde group was added to the benzene ring. Where is the additional C coming from?