The sun isn't the same density all the way through.

According to MSFC's [solar interior page][1], the core density at the centre is a whopping 150,000 Kg/m^3. Surrounding it the radiative zone is around 20,000 down to 200 Kg/m^3 (already less dense than water). Eventually at the edge is the convective zone - the density at the part that we see is much less dense than our own air...

So although the Sun's average density isn't very remarkable, the core is the densest place in the solar system.

[![Sun - cross section view][2]][2](Sun cross section from [Wikipedia.org][3])


  [1]: http://solarscience.msfc.nasa.gov/interior.shtml
  [2]: https://i.sstatic.net/wcfNB.png
  [3]: https://en.wikipedia.org/wiki/File:Sun_poster.svg