"Nucleophilic substitution is a fairly general reaction for primary and secondary haloalkanes. The halide functions as the leaving group, and several types of nucleophilic atoms enter into the process."