In nucleophilic substitution reactions with alkyl halides the leaving group is?
    
  A hydroxide group.
    
  A halide anion.
    
  A halide cation.
    
  A carbon atom.
    
  An ester.