Vanillin compound is an organic compound molecular formula C8H8O3. It is a phenolic aldehyde. Its functional compounds include aldehyde, hydroxyl and ether. It is the primary component of the extract of the vanilla beans.
Total sum of oxygen atoms and π-electrons is 3+8=11 Total number of oxygen atoms =3 Total number of π-bonds =4 ∴ Total number of π-electrons =8