Answer
Both are correct
Work Step by Step
The Sun is made of matter — primarily hydrogen and helium gas — which exists in a plasma state due to extreme temperatures. This matter undergoes nuclear fusion, converting hydrogen into helium and releasing enormous amounts of energy in the form of light, heat, and radiation.
So both students are correct.