Removing halogen atoms or halogen-containing groups from the molecule