Does Vega or the Sun have energy distribution in the spectrum closer to the distribution of energy in the blackbody spectrum?

In the Sun The main source of opacity in the Sun is negative hydrogen ions in the photosphere, which, for all wavelengths, attenuate the radiation coming from the interior of the star almost equally.
In Vega, the main source of light attenuation in the atmosphere is neutral hydrogen, the effect of which is selective.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.