The projector provides the white light, which has a continuous spectrum, as confirmed by the prism. The bunsen and sodium bicarbonate provides the sodium gas, which absorbs the incident light at its characteristic frequencies, re-emitting in all directions to leave an dark line in the continuous spectrum.