Alkyl halides and alcohols easily undergo nucleophilic substitution either through SN1 or SN2 mechanism. The relative case of these two processes depends upon the nature of the substrate (alkyl group) as well as leaving group, nature of nucleophile and also upon the nature of the solvent. SN1 mechanism involves the formation of carbocation as intermediate while SN2 mechanism involves the formation of a transition pentavalent state. SN1 is the main mechanism in 30 alkyl halides and alcohols, while SN2 mechanism is the path adopted by most of the 1o alkly halides; 2o alkyl halides may follow SN1 as well as SN2.
What happens when 1oROH react with HX?