The visible spectrum of sunlight shows a range of colors from red to violet. This spectrum has numerous dark lines spread throughout it. Noting that the surface of the Sun is much cooler than the interior, so that the surface is comparable to a cool gas through which light passes, which of the following statements correctly explains the dark lines?
Credit: College Physics 2e by OpenStax, openstax.org, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Exercises adapted: converted to Kosoma's format, maths re-typeset, some exercises split into parts. Source commit f98d7a792138a6133fe7267d17e70aa04e9ccbed.