The name of a hydrocarbon dictates whether there are single C-C bonds, double C=C bonds, or triple C bonds. This is done by the name ending in -ane, -ene, and -yne. Let’s use common compound ‘methane’ as an example. Methane has a C-C bond because it ends in -ane. Methane is an alk-ANE. Methane has a C=C because it ends in -ene and is an alk-ENE. lastly, methyne has a triple C bond because it ends in -yne and is an alk-YNE.
Chlorine belongs to the halogen group in the periodic table. It has an atomic number of 17, which indicates the number of protons and electrons in a neutral atom of chlorine is 17.
Therefore; with an atomic number of 17, its electronic configuration will be 2:8:7.
Thus; to attain a stable configuration chlorine requires to gain one electron, by so doing it becomes a negatively charged ion with a charge of -1.