Functional Groups Identification
The only right choice is D, because there is an ester, even though this ester is intramolecular, being made of the bridge -CO-O- in the lower part of the molecule. The aldehyde group is -CHO in the R.H.S. The carboxylic acid is in the upper part of the middle. And there are two alkene groups in the cycle at L.H.S.