In the laboratory, sodium chloride is made by burning the sodium in the atmosphere of chlorine which is yellow in colour. The cause of yellow colour is
Yellow colour on heating NaCl in presence of Na is due to presence of electrons
in anion vacancies (F-centres).