Answer
See explanation.
Work Step by Step
Gaseous atoms possess discrete energy levels and their line spectra are the result of electron transitions between the sharply-defined levels.
When atoms are in a solid, they interact with each other in complicated ways, sharing electrons and smearing their previously discrete energy levels into continuous bands. Transitions between these continuously distributed energy levels result in continuous spectra.