The product of the reaction given below is :

From the JEE Main 2016 · 3 Apr · Shift 1 paper. Try it, check your answer, then read the worked solution below.
The product of the reaction given below is :

Try it yourself first, then check your working against this.
Worked solution
NBS/hν brominates the allylic position, and aqueous then replaces Br by OH (by , possibly through the allylic cation, which also moves the double bond). The product is the allylic alcohol, structure (2).
Concepts used: allylic bromination with NBS
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Main questions on Hydrocarbons · All JEE Main questions on Haloalkanes and Haloarenes
Past questions on the same topic (Alkenes), each with a worked solution.
Timed, in the real format, and marked the moment you submit.