# Suns emission spectrum

I learnt that in astrophysical spectroscopy, the emission spectrum of distant stars is used to determine what they're made of. So why is it that our own Sun is emitting the whole spectrum ? (or is that information incorrect)

-
This is a nearly exact duplicate of this question: physics.stackexchange.com/questions/5032/… –  Ben Crowell Aug 8 '11 at 22:22
I don't know, I think it's a little different, although closely enough related that it's worth having them linked to each other (as they are). –  David Z Aug 9 '11 at 1:52