Given, the mass of the Sun is
Let r be the radius of the sun
The volume of the Sun is given as,
Substitute the given value in the above expression.
The density of the Sun is,
Substitute the given value in the above expression.
The value of density lies in the range of densities of the solid and liquid.
The density of gas is very low. The density of sun is high because of the gravitational force of attraction between the outer and inner layer of the sun.