system
Given the following post, respond as if you're commenting on Reddit:
human
The 2nd Law of Thermodynamics dictates that a black body is a perfect absorber AND emitter of light. How does a black body emit light?

This also means the sun is a perfect absorber of light. How does the sun absorb light?
gpt
It is important to understand that light does not necessarily mean wavelengths you can see. Radiowaves  and ultraviolet are light as well. A blackbody will absorb light at a high wavelength, which will excite an electron. When the electron drops down to an unexcited state, it will release a photon, however, it won't necessarily be of the same wavelength as was absorbed and usually is of a lower energy wavelength with the extra lost energy going to heat.

The sun actually does absorb light. The photons that are created from fusion go in random directions from inside the star. A photon will go until it hits something which often isn't far considering the density of a star. As before, when a photon hits an atom the photon is absorbed, the electron jumps up an energy level. The electron drops and releases a photon and the process repeats. Sometimes the photon goes closer to the surface, sometimes it goes deeper. It can take a photon thousands of years to get to the surface, then it takes 8 minutes to reach earth.