NBS is used for brominating allylic carbon atom. Predict the product in the following reaction.
When does elimination and substitution happen please explain using OH reacting with 2-bromo pentane?