In elimination, a nucleophile acts as a base and accepts a proton, removing a hydrogen from the carbon adjacent to the carbon with the halogen on in a halogenoalkane. The electrons are transfered to the bond between the carbons and the halide is eliminated, forming a double bond and producing an alkene.