In a related reaction, alkyl halides undergo nucleophilic displacement by phenoxides. The R-X cannot be used to react with the alcohol. However, phenols can be used to replace the alcohol, while maintaining the alkyl halide. Since phenols are acidic, they readily react with a strong base like sodium hydroxide to form phenoxide ions. The phenoxide ion will then substitute the -X group in the alkyl halide, forming an ether with an aryl group attached to it in a reaction with an SN2 mechanism.