 The potassium hydroxide is used to produce an alkoxide ion from the alcohol while the 18-crown-6 ether acts as a phase-transfer agent.The reaction proceeds through a classic SN-2 nucleophilic substitution.A terminal Bromo group is eliminated, and a bond is formed between the oxygen of the alcohol and the carbon of the alkane.