The Fraunhofer D-lines are dark absorption lines in the solar spectrum caused by sodium in the sun's outer atmosphere (photosphere/chromosphere). These cooler layers absorb specific wavelengths, creating dark lines in the otherwise continuous spectrum.