Final answer:
The object showing a continuous spectrum with dark bands emits light from a hot dense gas and is surrounded by a cooler gas that absorbs particular wavelengths, creating distinct absorption lines that aid in identifying the gas's composition.
Step-by-step explanation:
An astronomer who finds that a particular object in space emits light in a continuous spectrum with distinct dark bands is likely observing a hot dense gas surrounded by a cooler gas. Light from the hot dense inner gas shines through the cooler gas, which absorbs specific wavelengths of light that correspond to the elements present in the gas. This results in the appearance of dark absorption lines on the otherwise continuous spectrum of light. These lines, known as absorption spectra, help astronomers determine the composition of the gases around celestial objects.