Why is the spectrum of a star called an absorption spectrum?

Verified Answer :

It is called absorption spectrum because a gas of hydrogen will make a line spectrum and if viewed for another angle it would be between a continuum light and a emission line spectrum