The Sun is a G-type main-sequence star comprising about 99.86% of the total mass of the Solar System. It is a near-perfect sphere, with an oblateness estimated at about 9 millionths, which means that its polar diameter differs from its equatorial diameter by only 10 km. As the Sun consists of a plasma and is not solid, it rotates faster at its equator than at its poles. This behavior is known as differential rotation, and is caused by convection in the Sun and the movement of mass, due to steep temperature gradients from the core outwards. This mass carries a portion of the Sun’s counter-clockwise angular momentum, as viewed from the ecliptic north pole, thus redistributing the angular velocity. The period of this actual rotation is approximately 25.6 days at the equator and 33.5 days at the poles. However, due to our constantly changing vantage point from the Earth as it orbits the Sun, the apparent rotation of the star at its equator is about 28 days. The centrifugal effect of this slow rotation is 18 million times weaker than the surface gravity at the Sun's equator. The tidal effect of the planets is even weaker, and does not significantly affect the shape of the Sun.
The Sun is a Population I, or heavy element-rich, star. The formation of the Sun may have been triggered by shockwaves from one or more nearby supernovae. This is suggested by a high abundance of heavy elements in the Solar System, such as gold and uranium, relative to the abundances of these elements in so-called Population II (heavy element-poor) stars. These elements could most plausibly have been produced by endergonic nuclear reactions during a supernova, or by transmutation through neutron absorption inside a massive second-generation star.
The Sun does not have a definite boundary as rocky planets do, and in its outer parts the density of its gases drops exponentially with increasing distance from its center. Nevertheless, it has a well-defined interior structure, described below. The Sun's radius is measured from its center to the edge of the photosphere. This is simply the layer above which the gases are too cool or too thin to radiate a significant amount of light, and is therefore the surface most readily visible to the naked eye.
The solar interior is not directly observable, and the Sun itself is opaque to electromagnetic radiation. However, just as seismology uses waves generated by earthquakes to reveal the interior structure of the Earth, the discipline of helioseismology makes use of pressure waves (infrasound) traversing the Sun's interior to measure and visualize the star's inner structure. Computer modeling of the Sun is also used as a theoretical tool to investigate its deeper layers.
Read more about this topic: Sun