The answer to your question: The
sun emits shortwave radiation, but it is radiated back off of planetary bodies
as longwave radiation.
Explanation: The sun emits shortwave
radiation, wherein it’s extremely hot and is filled with more energy compared
to the radiation emitted by planets. This also comes in the form of light. However, once this becomes absorbed by planetary bodies, it turns into longwave radiation. A good example is the earth’s atmosphere emitting energy
(longwave radiation), which is energy originally coming from the sun (shortwave radiation).