What are Y and Z respectively in the following reaction sequence?

What are Y and Z respectively in the following reaction sequence?




Asked in: AP EAMCET 2024 (21 May Shift 2)

Practice more Halogen Derivatives questions on Aicharya