Have you done blackbody and continuum radiation?
the vast majority sunlight and starlight comes from hot plasma in the photosphere, in the hot plasma the electrons and protons are separate rather than being organised into hydrogen atoms, the plasma can and does emit light over a continuous range of frequencies - the plasma acts as a black body
emission spectra can only come from atoms i.e. electrons bound with a nucleus.
you do actually get emission spectra from atoms the suns atmosphere - but you don't normally see it. The chromosphere has a red colour that is caused by the hydrogen alpha emission line - but it's only noticeable during an eclipse or if you use a narrow band filter.