We have two type of atoms comprising most of the sun's structure.: hydrogen and helium. andAnd these have a noncontinuous spectrum.
butBut the sun has a continuous spectrum like a black body radiation because of free to bond or free to free radiation. there is There are three typetypes of transition:
**
bond to bond (which is discrete)
free to bond (a free electron bond to an atom and radiate photons with continuous frequency)
free to free (a free electron change its speed due to interaction with a potential and radiate photons with continuous frequency) **
theThe last one also called Bremsstrahlung radiation.
soSo free electrons in the plasma medium in the sun's corona radiate Bremsstrahlung radiation due to statistical collisions and the output result is a continuous spectrum like back body radiation.
theThe tungsten in bulb light also behaves in this manner. electronsElectrons from electrical current collide with heavy atoms and free-free transitions occurred (Bremsstrahlung radiation) and we have a continuous light due to this interaction.
thisThis is also true for continuous radiation of hot objects and metals.
itIt is also important to note that Doppler broadening is not the answer because it has a very small bandwidth (<<1nm$\ll1$ nm) for gas speed distribution.