In chemistry, a leaving group is an atom or molecule that leaves another molecule during a reaction. This reaction can be for example a nucleophilic substitution. In this case the leaving group gets a pair of electrons. Some leaving groups are better than others. This is because some atoms or molecules like getting extra electrons. The halides are a good example of good leaving groups.