Chlorine is an elemental gas with a chemical formula of Cl2. It is a yellow-green gas at room temperature and…