The Sun is a strong source of x-rays
(10-5 of the total energy it emits)
It must have ~million degree gas (plasma) on it
This really hot gas is not on the Sun’s surface - it is above the surface, in localized structures…the plasma in these structures (coronal loops) is generally not moving (very much)