As halogen molecule, for example Br2, approaches a double bond of the alkene, electrons in the double bond repel electrons in bromine molecule causing polarization of the halogen bond. This creates a dipolar moment in the halogen molecule bond. Heterolytic bond cleavage occurs and one of the halogens obtains positive charge and reacts as an electrophile.