Here's why:
* Plasma is a superheated gas where electrons are stripped from atoms, creating a mixture of ions and free electrons. This creates a state where the particles are electrically charged and interact with electromagnetic fields.
* The Sun's intense gravity and nuclear fusion reactions within its core create temperatures of millions of degrees Celsius, causing the hydrogen and helium atoms to become ionized and exist as plasma.
While the Sun does contain some gas in its outer layers, the vast majority of its mass is in the form of plasma.