Answer:
The hydrogen atom has just one electron, but many spectral lines. However it contains many shells and the movement of that electron from one shell to another causes the release of energy and also an emission of photons.
A spectral line are dark or bright lines formed within a specific frequency range which differ from other frequencies.Because of the difference of energy for the various shells, it produces different wavelengths and this is the reason for the many spectral line for hydrogen.