Why does a hydrogen atom, which has only one electron, have so many spectral lines? Any help gratefully received.

There are many energy levels the one electron can transition from/to.